Support allow_paid_broadcast
in AIORateLimiter
#4578
Labels
ℹ️ needs-wiki-update
information: needs-wiki-update
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
AIORateLimiter
is currently not consideredingallow_paid_broadcast
which means that this parameter has no effect when using the limiter.Describe the solution you'd like
Extract the value for
allow_paid_broadcast
inprocess_update
. In case it'sTrue
, the update should be sent to a standaloneaiolimiter
instance that allows up to 1000 messages per second.Describe alternatives you've considered
No response
Additional context
#4573 adds a warning about missing support for now.
https://github.com/python-telegram-bot/python-telegram-bot/wiki/Avoiding-flood-limits also contains a warning, that should be removed if this is implemented
The text was updated successfully, but these errors were encountered: