Remove client.disconnected property

This commit is contained in:
Lonami Exo
2021-09-18 15:41:04 +02:00
parent bf61dd32af
commit e524a74b84
4 changed files with 18 additions and 43 deletions

View File

@@ -301,9 +301,6 @@ def init(
def get_loop(self: 'TelegramClient') -> asyncio.AbstractEventLoop:
return asyncio.get_event_loop()
def get_disconnected(self: 'TelegramClient') -> asyncio.Future:
return self._sender.disconnected
def get_flood_sleep_threshold(self):
return self._flood_sleep_threshold