You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found one issue: if the bot wasn't triggered a long time (like several days), bot doesn't receive messages from Telegram server anymore. Restarting helps.
I've the same issue in C++ library for Telegram - tgbot-cpp. Also you can find the same issues in other libraries for Telegram.
For fixing it you should tweak connection to the Telegram server.
The text was updated successfully, but these errors were encountered:
zamazan4ik
changed the title
Telegram bot stopping receiving update events from the server, if bot is running a long time
Telegram bot stops receiving update events from the server, if bot has been running for a long time
Jul 2, 2020
Hi!
I've wrote one telegram bot: https://github.com/ZaMaZaN4iK/codedetection-telegram/blob/master/src/main.rs
I've found one issue: if the bot wasn't triggered a long time (like several days), bot doesn't receive messages from Telegram server anymore. Restarting helps.
I've the same issue in C++ library for Telegram -
tgbot-cpp
. Also you can find the same issues in other libraries for Telegram.For fixing it you should tweak connection to the Telegram server.
The text was updated successfully, but these errors were encountered: