mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-10 18:59:33 +00:00
Officially remove resolve_invite_link
This commit is contained in:
@@ -204,10 +204,6 @@ class MemorySession(Session):
|
||||
username, invite = utils.parse_username(key)
|
||||
if username and not invite:
|
||||
result = self.get_entity_rows_by_username(username)
|
||||
else:
|
||||
tup = utils.resolve_invite_link(key)[1]
|
||||
if tup:
|
||||
result = self.get_entity_rows_by_id(tup, exact=False)
|
||||
|
||||
elif isinstance(key, int):
|
||||
result = self.get_entity_rows_by_id(key, exact)
|
||||
|
Reference in New Issue
Block a user