mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Remove forgotten points
This commit is contained in:
@@ -693,7 +693,7 @@ class TelegramBareClient:
|
||||
"""
|
||||
self.updates.process(await self(GetStateRequest()))
|
||||
|
||||
async def add_update_handler(self, handler):
|
||||
def add_update_handler(self, handler):
|
||||
"""Adds an update handler (a function which takes a TLObject,
|
||||
an update, as its parameter) and listens for updates"""
|
||||
self.updates.handlers.append(handler)
|
||||
|
Reference in New Issue
Block a user