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?
Asked
Active
Viewed 379 times
-1

Arshamnm
- 35
- 9
1 Answers
0
You can use getWebhookInfo before reset it next time. See following example:

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