mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-08 10:15:10 +00:00
Use app.run() in the examples
This commit is contained in:
@@ -28,5 +28,4 @@ def raw(client, update, users, chats):
|
||||
print(update)
|
||||
|
||||
|
||||
app.start()
|
||||
app.idle()
|
||||
app.run() # Automatically start() and idle()
|
||||
|
Reference in New Issue
Block a user