bot.telegram.sendMessage timeout needed?
See original GitHub issuehttps://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once
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. Also note that your bot will not be able to send more than 20 messages per minute to the same group.
Telegraf have 30message/seconds delay if i use bot.telegram.sendMessage(chat.id, '...');
?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
TimedOut in python-telegram-bot but message is sent
Time out errors mean that TG didn't send a response to your send_message request quick enough. It does not necessarily mean that the...
Read more >Python telegram.error.TimedOut() Examples
This page shows Python examples of telegram.error.TimedOut. ... sendMessage(chat_id=chat_id, text=message) except BadRequest as e: bot.
Read more >python-telegram-bot v20.0b0
This object represents a Telegram Bot. Most bot methods have the argument api_kwargs which allows passing arbitrary keywords to the Telegram API. This...
Read more >Telegram Bot API
All queries to the Telegram Bot API must be served over HTTPS and need to be presented in this form: https://api.telegram.org/bot<token>/METHOD_NAME .
Read more >telegram bot socket.timeout: timed out : Forums
telegram bot socket.timeout: timed out. hi there, my code works very well last night,. but today have problem.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@AndreoliBR install
system-sleep
from npm, example:@AndreoliBR great! Nice bro!