-1

I was testing my bot (which is written in python and served via Apache on a vps by digital ocean) and it suddenly stopped responding. I checked Apache's error logs file but there were nothing relevant. so there were no errors.
Then I reassigned webhook( by deleting and setting it again) and everything came back to normal.
This accident reduced my trust on reliability of the bot :(
any ideas?

Arshamnm
  • 35
  • 9

1 Answers1

0

You can use getWebhookInfo before reset it next time. See following example:

Awesome Telegram Bot

Sean Wei
  • 7,433
  • 1
  • 19
  • 39