Parameter LEAVE_CLOSED¶
Paid Access
Using this parameter is only available for Hotline premium users. To purchase a paid version of the system, contact our support service.
The parameter determines which types of dialog topics should remain in ⬛️ closed status, even if a new incoming message is received.
This behavior is often needed when monitoring a large number of groups by keywords through the GROUPS_KEYWORDS parameter, to avoid activating the broadcast of new messages to the backend group with each match (due to topic activation).
Operators can also use this parameter to consider all dialogs inactive by default until explicitly activated.
When an outgoing message is sent from the backend group, the topic switches to 🟨 support_answered status as usual.
New topics are created in ⬛️ closed status when this parameter is active, preventing the welcome message from being sent.
The parameter can have one or more values from the set:
private¶
-
Option purpose: keep topics with personal dialogs closed
group¶
-
Option purpose: keep topics for dialogs in group chats closed
channel¶
-
Option purpose: keep topics for broadcasts from channels closed
By default, the list is empty, meaning any incoming message in a closed topic moves it to active state 🟪 user_answered.
Data Format¶
Each string value must be enclosed in double quotes, values are separated by commas.
To clear the list, send the value OFF.
The setup bot needs to be sent the required value after selecting the parameter for editing.
Default Value¶
NONE
Usage Examples¶
"group"
Result: new incoming messages in topics for group monitoring will not move them to active status.
Main use cases:
- monitoring groups or channels by keywords
- feedback bot