mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Update code to deal with the new sessions
This commit is contained in:
@@ -206,8 +206,7 @@ class TelegramClient:
|
||||
it's `True` then the takeout will be finished, and if no exception
|
||||
occurred during it, then `True` will be considered as a result.
|
||||
Otherwise, the takeout will not be finished and its ID will be
|
||||
preserved for future usage as `client.session.takeout_id
|
||||
<telethon.sessions.abstract.Session.takeout_id>`.
|
||||
preserved for future usage in the session.
|
||||
|
||||
Arguments
|
||||
finalize (`bool`):
|
||||
@@ -3599,9 +3598,6 @@ class TelegramClient:
|
||||
async def _clean_exported_senders(self: 'TelegramClient'):
|
||||
return await telegrambaseclient._clean_exported_senders(**locals())
|
||||
|
||||
def _auth_key_callback(self: 'TelegramClient', auth_key):
|
||||
return telegrambaseclient._auth_key_callback
|
||||
|
||||
def _handle_update(self: 'TelegramClient', update):
|
||||
return updates._handle_update(**locals())
|
||||
|
||||
|
Reference in New Issue
Block a user