Bot subscription/unsubscription mechanism
By default, all new subscribers are "subscribed to the bot". The script will run when the subscriber sends messages.
To check if a user is subscribed to a bot, go to the "Chats" section and open a dialog with the desired user. To the right of the dialog is the subscriber's card, where all information about the subscriber is stored. The values of all variables are also stored there.
Any subscriber can unsubscribe from the bot. This is necessary, for example, if your manager wants to continue the dialog with the subscriber himself.
If the user is unsubscribed from the bot, when the user sends any messages to the chat, the bot will not respond.
You can unsubscribe from the bot using the Operation block or manually in the Chat-API builder.
How to unsubscribe from the bot using the Operation block you can read in our article.
To manually unsubscribe a subscriber from the bot, go to "Chats". To the right of the selected dialog box is the subscriber card.
To unsubscribe from the bot, click ( stop ) in the subscriber card. After this bot will not respond to messages from the subscriber.
To return the subscription to the bot, click (run) in the subscriber's card. The bot will start working and responding to the subscriber's messages again.