2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-08 18:25:16 +00:00

Add DisconnectHandler

This commit is contained in:
Dan
2018-05-23 14:27:17 +02:00
parent 8a5743ef0c
commit 9001ccd11f
9 changed files with 80 additions and 5 deletions

View File

@@ -75,6 +75,8 @@ class BaseClient:
self.download_queue = Queue()
self.download_workers_list = []
self.disconnect_handler = None
def send(self, data: Object):
pass