Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard against other known limits #1076

Merged
merged 12 commits into from
Jun 29, 2024
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:
rojvv marked this conversation as resolved.
Show resolved Hide resolved
KnorpelSenf marked this conversation as resolved.
Show resolved Hide resolved

## Throttling

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