Skip to content

Telegram: add support for avoiding hit limits (error=429) #10

@trakhimenok

Description

@trakhimenok

If message failed to sent put it to a queue to send later? Probably should be controlled by a flag on a message.

https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this

When sending messages inside a particular chat, avoid sending more than one message per second. We may allow short bursts that go over this limit, but eventually you'll begin receiving 429 errors.

If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so. Consider spreading out notifications over large intervals of 8—12 hours for best results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions