mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Use app.run() in the examples
This commit is contained in:
@@ -49,5 +49,4 @@ def welcome(client, message):
|
||||
)
|
||||
|
||||
|
||||
app.start()
|
||||
app.idle()
|
||||
app.run() # Automatically start() and idle()
|
||||
|
Reference in New Issue
Block a user