2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-10 11:15:27 +00:00

Use app.run() in the examples

This commit is contained in:
Dan
2018-06-22 13:30:18 +02:00
parent fa65abf276
commit 142a27f52a
7 changed files with 10 additions and 15 deletions

View File

@@ -34,5 +34,4 @@ def answer(client, callback_query):
)
app.start()
app.idle()
app.run() # Automatically start() and idle()