Run Telegram loop
This commit is contained in:
parent
8f78ee8c2d
commit
791c2f815c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class TelegramLoop:
|
|||
self.dispatcher.register_message_handler(self.on_message)
|
||||
|
||||
async def run(self):
|
||||
print(456, file=sys.stderr)
|
||||
await self.dispatcher.start_polling()
|
||||
|
||||
async def on_message(self, msg):
|
||||
print(msg, file=sys.stderr)
|
||||
|
|
Loading…
Reference in a new issue