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

Provide 429 exception for webhook updates on inline query #648

Open
chaslain opened this issue Oct 8, 2024 · 1 comment
Open

Provide 429 exception for webhook updates on inline query #648

chaslain opened this issue Oct 8, 2024 · 1 comment

Comments

@chaslain
Copy link

chaslain commented Oct 8, 2024

When several users are active on my bot at one time, mostly interacting with callback queries, I am getting a 429 error sending the update back.
I believe if my bot is receiving one callback query, a 1:1 ratio of requests in to requests out should not trigger the 429 rate limiter, especially in reference to the same inline message id, as this cannot be used to spam.

@levlam
Copy link
Contributor

levlam commented Oct 9, 2024

You can call answerCallbackQuery without any limits, editing of the message in question is still subject to per chat limits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants