Skip to content

Dependence of message size on error "Too many requests" rate #736

Open
@sudovag3

Description

@sudovag3

Hello there, i'm developing now some high-load trading bot, where need to send/update messages very often, so i noticed, that i always get 429 error "Too many requests" after some time, but this time range changes depending on how big the message is i'm trying to edit. So i have 4 questions:

  1. Is it true that the size of the update message affects how quickly we get "too many requests"?

  2. If so, is there any exact or approximate limits in numbers/bits/characters per second for bots?

  3. How much do buttons affect the message size?

  4. Am I right in thinking that the best optimization method is to reduce the message size?

I thank you very much in advance for your answer, in the documentation I only found information about 30 messages per second (this meant mass mailings)🙏🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions