MadelineProto/docs/docs/FLOOD_WAIT.md
2018-03-20 14:51:22 +00:00

12 lines
414 B
Markdown

# Avoiding FLOOD_WAITs
If you make too many requests to telegram, you might get FLOOD_WAITed for a while.
To avoid these flood waits, you must calculate the flood wait rate.
Calculate it by making N of method calls until you get a FLOOD_WAIT_X
```
floodwaitrate = time it took you to make the method calls + X
```
<button href="https://docs.madelineproto.xyz/docs/LOGGING.html">Next section</button>