Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support allow_paid_broadcast in AIORateLimiter #4578

Copy link
Copy link
@Bibo-Joshi

Description

@Bibo-Joshi
Issue body actions

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

AIORateLimiter is currently not considereding allow_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 in process_update. In case it's True, the update should be sent to a standalone aiolimiter 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.