mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Update example
This commit is contained in:
parent
6cf849c3ea
commit
6fdf9a60f6
@ -16,7 +16,7 @@ The following shows how to catch the exception in your code and wait the require
|
||||
try:
|
||||
... # Your code
|
||||
except FloodWait as e:
|
||||
await asyncio.sleep(e.x) # Wait "x" seconds before continuing
|
||||
await asyncio.sleep(e.value) # Wait "value" seconds before continuing
|
||||
...
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user