-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Multiple message queues for a bot #1369
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
Comments
We currently don't have anything implemented that can do that kinda thing. We'd probably be open to suggestions/PRs with how such a thing should be done tho! :D |
On one hand, it might even be interesting to do this behind the scenes. So we add each request in a queue and try to be smart when we do what so we dont hit limits. On the other hand, there is nothing we can do if a user sends 60 requests at once, and they should limit such a bulk request by themself in the code actually. |
I just read this source of the decorator @messagequeue
and I thought what if a bot needs multiple message queues?
because the limits in telegram are different for each type of requests.
for example the limit for editing message texts is too low!
what do you suggest to do?
Thanks.
The text was updated successfully, but these errors were encountered: