Instant Unsubscribe check (Plugin)
Instant Unsubscribe Check - is a plug-in for the "Subscription Check" function in the "Multi-subscription" mode. The plugin allows the bot to instantly know that the user has left the group or channel (noting this fact in the Database), and also, by sending the command you set, perform the necessary actions using the functions of the corresponding button. In other words, it allows the bot to instantly respond to an unsubscribe in a group or channel.
For the plug-in to work, connect the "Subscription Check" and configure it by switching to the "Multi-subscription" mode (if you have not done this before).
Subscription check.
To connect, go to your bot:☞ 🔐Admin | 🧩Extensions | 📂Protection
The plugin is activated in the same place where the parent function is connected.
Instant Unsubscribe Check.
To connect, go to your bot:☞ 🔐Admin | 🧩Extensions | 📂Protection
IMPORTANT: The plugin consumes Tokens of Functions. The payment model is described in a separate section below.
❖ Setup of Instant Unsubscribe check Plugin
Plugin functionality is available only in Multi-subscription mode.
Configuring the Instant Unsubscribe Check plugin takes place in :☞ 🔐Admin | 🚻 Subscription Check | Instant Check
This section will appear only after the activation of the plugin itself.
Instant Check
This option enables Instant Unsubscribe Check FOR ALL GROUPS where your bot checks the subscription. At the moment of unsubscribing, the bot will mark this fact in the DataBase - regardless of the frequency of checking in the main function "Subscription Check".
This option enables and disables the Instant Check feature.
Modes:Off ⏹️
- Instant check disabled.On ▶️
- instant check enabled.
The current setting is indicated on the button itself, the modes will switch in a circle.
Assign a Command
Allows you to assign a Command that will be sent to the bot on behalf of the user. The Command sent at this point allows you to perform any necessary actions - deduct the balance, send a message to the user, etc.
In order for the given Command to work, you must first create a button with the necessary functions and assign this command to it. Thus, the functions of the button can be accessed by this command. When Unsubscribing, the user will actually send a command to the bot and the bot, in its turn, will perform the functionality of the button.
For the information on what Commands are, see the Guide on Commands. The interface for adding a Command here is similar to the one used while adding a Command to a button.
Option: Add Group ID to Command
Adding a group ID to Command allows you to distinguish the groups that have been unsubscribed, which, in turn, allows you to set different actions for each group or channel.
Modes:Off ⏹️
- Mode 1: Add ID disabled. You just assigned a command and the suffix is NOT added.
For example: /unsub
In this case, this command will be called when unsubscribing from any of the multigroups.On ▶️
- Mode 2: Add ID enabled. If you need to distinguish groups, then you can enable the option: "Add Group ID to Command". In this case, the suffix with the ID of the group in where the unsubscribe occurred will be AUTOMATICALLY added to the command you have specified (DO NOT add anything in the command itself). If the command you set is "/unsub
", then with a suffix it will look like this:
For example: /unsub_12345678
Where: _12345678
this is the Group or Channel ID added by the plugin AUTOMATICALLY.
The current setting is indicated on the button itself, the modes will switch in a circle.
When using this option, you will need to create buttons with the appropriate commands (containing the ID of each of the groups checked by the bot).
❖ Instant Check Payment Model
Payment for the Instant Check functionality is carried out in Tokens of Functions and occurs only UPON THE FACT of each individual check. Both - Monthly (renewable) Tokens and Additional Tokens are used.
After the end of the Monthly (renewable) Tokens of Functions - an Additional Tokens of Functions will be used to pay for the Instant Check.
IMPORTANT: If ALL Tokens of Functions (Renewable and Additional) run out, then all Instant Checks will stop happening, no commands will be sent upon Unsubscribing. The administrator will receive messages about the Instant Unsubscribe functionality being disabled and the need to purchase Additional Tokens of Functions, BUT no more than once every 5-10 minutes.
If you need to purchase Additional Tokens of Functions:
Tokens of Functions.
To purchase, go to your bot:☞ 🔐Admin | 🧩Extensions | 📂Actions
Rules of checking unsubscription to a group and tokens deduction
For the purpose of paying for the functionality, all users of ANY Group or Channel can be divided into two types - those who are bot's users and those who are present only in the Group (Channel). Processing the Unsubscribe of a user who is not in the bot, for obvious reasons, does not require actions within the bot itself and any records in the Database. Accordingly, processing the Unsubscribe of such users requires less server resources and therefore costs less.
1 Token of Functions - deducted for processing the unsubscription of a user who is NOT in the bot.
2 Token of Functions - deducted for processing a user who IS in the bot.