skip to Main Content

I need to track users who have blocked telegram bot and change their status in the database (active, inactive).

I found a way on the Internet with sending a message and catching an error, but is there any other way to find out that the user has blocked the bot?

2

Answers


  1. Try new things like feedback mechanism within your bot where users can explicitly indicate their status or using analytics tools if they provide insights within the privacy policy bounds

    Login or Signup to reply.
  2. You can use sendchataction and then based on the returned error you can see if the user blocked you.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search