tdlib / td

Cross-platform library for building Telegram clients

Home Page:https://core.telegram.org/tdlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I know that the bot is stopped?

fat-complex opened this issue · comments

I need to find out when the bot needs to be restarted. For example, I stopped it from another client, stopped and blocked it, cleared the history. What update should I watch to find out when to restart the bot?

There are no update for changes of a user's block list. The latest state is fetched via getUserFullInfo when the chat is opened.