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:
@@ -34,5 +34,4 @@ def answer(client, callback_query):
|
||||
)
|
||||
|
||||
|
||||
app.start()
|
||||
app.idle()
|
||||
app.run() # Automatically start() and idle()
|
||||
|
Reference in New Issue
Block a user