Skip to content

Commit

Permalink
Guard against other known limits
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed Jun 16, 2024
1 parent 99eeade commit f6b7abf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions site/docs/advanced/flood.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ From the [Bot FAQ](https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-h
Completely unrelated to bulk notifications or how many messages are sent in the group.
And yet again, the auto-retry plugin will take care of this for you.

There are a few other known limits there were revealed outside of the official Bot API documentation.
For example, [it is known](https://t.me/tdlibchat/146123) that bots can only do up to 20 message edits in a minute per group chat.
However, this is the exception, and we also have to assume that these limits may be changed in the future.
Thus, this information does not affect how to program your bot.

For instance, throttling your bot based on these number is still a bad idea:

## Throttling

Some think that it is bad to run into rate limits.
Expand Down

0 comments on commit f6b7abf

Please sign in to comment.