I wrote a telegram bot, but it go frizes sometimes, and don't answer to the messages.
How to check the state of bot automaticaly (for exmaple from another server).
I think, that I need something like heartbeat check:
- Send a message from non-webhook server.
- Catch telegram response
- If response not comes in reasonable time, bot is die.
But, I need telegram client on linux server to do it.
Do you have any ideas, how to check telegram bot state?