sendMessage freeze if I try send more than 20 message / per minute for different users #1344
Replies: 3 comments
-
I'm aware of these limits:
If you don't use inline buttons on your messages and respect these limits your bot shouldn't experience any block |
Beta Was this translation helpful? Give feedback.
-
@gekoramy Thanks for the answer. I using inline buttons in messages. How can this affect? |
Beta Was this translation helpful? Give feedback.
-
My bot sends messages with inline buttons and respects the limits I wrote before.
In my opinion, the best way to prevent "real" DoS attack is to set cache time to x seconds on inline buttons. |
Beta Was this translation helpful? Give feedback.
-
Hello! I try to send a message to all bot users. In the documentation, I see the only 30/sec limit. But when I try to send, if I send more than 20/min sendMessage freeze for 30 sec. And I can send more than 20/per minute to separate users. Does anyone get this limit?
Beta Was this translation helpful? Give feedback.
All reactions