mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Factor out setting entities to events
This commit is contained in:
@@ -551,6 +551,7 @@ class MTProtoSender:
|
||||
|
||||
self._log.debug('Handling update %s', message.obj.__class__.__name__)
|
||||
if self._update_callback:
|
||||
print(message.obj.stringify())
|
||||
self._update_callback(message.obj)
|
||||
|
||||
async def _handle_pong(self, message):
|
||||
|
Reference in New Issue
Block a user