Telethon/telethon/client
Lonami Exo 04ba2e1fc7 Revert disconnect() to be async again (#1133)
It's the only way to properly clean all background tasks,
which the library makes heavy use for in MTProto/Connection
send and receive loops.

Some parts of the code even relied on the fact that it was
asynchronous (it used to return a future so you could await
it and not be breaking).

It's automatically syncified to reduce the damage of being
a breaking change.
2019-03-21 12:21:00 +01:00
..
__init__.py Add new takeout method 2019-01-05 17:18:40 +01:00
account.py Update documentation, errors and add TODOs 2019-02-27 19:30:12 +01:00
auth.py Revert disconnect() to be async again (#1133) 2019-03-21 12:21:00 +01:00
bots.py Return custom.InlineResults instead of a simple list 2018-08-02 23:31:51 +02:00
buttons.py Support configuring the reply markup through buttons 2019-01-03 19:03:47 +01:00
chats.py Fix iter_participants in non-channels 2019-03-02 21:17:36 +01:00
dialogs.py Update docs for send_file/timeouts and add new known error 2019-03-18 17:34:48 +01:00
downloads.py Revert disconnect() to be async again (#1133) 2019-03-21 12:21:00 +01:00
messageparse.py Prevent KeyError in forward_messages 2018-12-20 20:33:25 +01:00
messages.py Workaround #1124 (Telegram ignoring offset_date) 2019-03-18 17:36:06 +01:00
telegrambaseclient.py Revert disconnect() to be async again (#1133) 2019-03-21 12:21:00 +01:00
telegramclient.py Add new takeout method 2019-01-05 17:18:40 +01:00
updates.py Revert disconnect() to be async again (#1133) 2019-03-21 12:21:00 +01:00
uploads.py Update docs for send_file/timeouts and add new known error 2019-03-18 17:34:48 +01:00
users.py Don't set self._state when checking if logged in 2019-03-11 09:04:08 +01:00