mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Update and persist session state on successful login
This commit is contained in:
@@ -3598,8 +3598,8 @@ class TelegramClient:
|
||||
async def _handle_auto_reconnect(self: 'TelegramClient'):
|
||||
return await updates._handle_auto_reconnect(**locals())
|
||||
|
||||
def _self_id(self: 'TelegramClient') -> typing.Optional[int]:
|
||||
return users._self_id(**locals())
|
||||
async def _update_session_state(self, user, save=True):
|
||||
return await auth._update_session_state(**locals())
|
||||
|
||||
# endregion Private
|
||||
|
||||
|
Reference in New Issue
Block a user