When I launch the bot, it works well, but if I don't send messages to it for a while, it stops responding. Moreover, every time after a different time, sometimes 10 minutes, sometimes an hour. I want to note that the message reaches him by logs, but he does nothing.
When I launch the bot, it works well, but if I don't send messages to it for a while, it stops responding. Moreover, every time after a different time, sometimes 10 minutes, sometimes an hour. I want to note that the message reaches him by logs, but he does nothing.
code: bot.go:
handleUpdatesFunction:
terminal when bot is not responding: