Telegram bot api: Error code 429, Error: Too many requests: retry later

Pooya Saberian picture Pooya Saberian · Aug 10, 2015 · Viewed 10.3k times · Source

We have a Telegram bot. It has around 1.2 million subscribers.

Now we're facing a problem in sending messages to these number of subscribers.

Telegram bot API does not provide any batch message functionality and we'd have to send individual requests to Telegram. The problem is, after a few thousand messages, Telegram starts responding with Error 429: too many requests, and does not accept any requests for a while.

How can we effectively message our subscribers?

Answer

user3313781 picture user3313781 · Oct 2, 2015

I'm the owner of Ramona Bot. There is a limit for sending message to users. as they said ~30 message per second. Otherwise you will get that Error 429.