Closed emam3 closed 1 year ago
i figured it out, i'll leave the answer in case someone needs it :
bot.on("my_chat_member", function ChatMemberUpdated(member) { let userStatus = member.new_chat_member.status if (userStatus == 'kicked') { // user blocked the bot } else if (userStatus == 'member') { // user unblocked the bot } } );
i want to know the users who blocked my bot for some statistics
how can i know?