Clear “pending_update_count” in Telegram Bot

后端 未结 5 1789
渐次进展
渐次进展 2021-01-04 05:44

I want to clear all pending_update_count in my bot!

The output of below command :

https://api.telegram.org/botxxxxxxxxxxxxxxxx/getWebhoo         


        
5条回答
  •  耶瑟儿~
    2021-01-04 06:13

    Just add return 1; at the end of your hook method.

    Update:

    Commonly this happens because of queries delay with the database.

提交回复
热议问题