Skip to content

Commit

Permalink
Document the client instance cannot be used after logout
Browse files Browse the repository at this point in the history
Closes #3780.
  • Loading branch information
Lonami committed Sep 21, 2022
1 parent 1751631 commit a83fe46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions telethon/client/auth.py
Expand Up @@ -595,6 +595,8 @@ async def log_out(self: 'TelegramClient') -> bool:
"""
Logs out Telegram and deletes the current ``*.session`` file.
The client is unusable after logging out and a new instance should be created.
Returns
`True` if the operation was successful.
Expand Down

0 comments on commit a83fe46

Please sign in to comment.