Parameter PRIVATE_KEYWORDS¶
The parameter sets an array of keywords and phrases for creating or activating existing topics to 🟪 user_answered status from ⬛️ closed status.
The filter triggers when the frontend (connected bot or account) receives a personal message with the specified keywords.
After the topic moves to any active state 🟪 user_answered or 🟨 support_answered, all messages are relayed to it without keyword filtering until it returns to ⬛️ closed status (by /close command or by AUTOCLOSE timeout).
By default, the parameter has the value OFF, which means no keyword filtering in personal messages.
For the PRIVATE_KEYWORDS filter to work, the MONITOR_PRIVATE parameter must be set to TRUE (set by default).
Data Format¶
Each string value must be enclosed in double quotes. Values separated by commas. String case is ignored by default.
Phrases are formed from a set of keywords with square brackets [] (must contain each of the specified words).
To negate a word, put a ~ sign before it.
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¶
OFF
Usage Examples¶
"word1", "word2", ["word3","word4"], ["word5","~word6"]
Result: topic will be created or activated only if the personal message contains
word1 or word2
OR
phrase with word3 and word4
OR
phrase where there is word5, but no word6.
Used in cases:
- parallel bot connection to activate topic with operator only by given command
- filtering incoming private message flow by code word or promo code