Answer the question
In order to leave comments, you need to log in
How to determine that a person has deleted a bot?
TELEBOT
There is a mailing list, the list of user ids is stored in a db file, in addition to the mailing list, I look through it the number of people in the bot
, how can we delete user ids that have blocked the bot?
there seems to be a 403 error, but how to implement it?
something like:
if( error 403 ):
delete id
Answer the question
In order to leave comments, you need to log in
You take and ban the bot yourself and try to send a message to yourself with a script. You look at what arrives in response and make up the necessary condition in the if.
Then you send a mailing to the user base and by this condition you understand who deleted the bot.
That's all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question