mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Implement dispatching events
This commit is contained in:
@@ -149,6 +149,7 @@ def init(
|
||||
self._updates_queue = asyncio.Queue(maxsize=max_queued_updates)
|
||||
self._updates_handle = None
|
||||
self._update_handlers = [] # sorted list
|
||||
self._dispatching_update_handlers = False # while dispatching, if add/remove are called, we need to make a copy
|
||||
self._message_box = MessageBox()
|
||||
self._entity_cache = EntityCache() # required for proper update handling (to know when to getDifference)
|
||||
|
||||
|
Reference in New Issue
Block a user