Skip to main content

69. Buttons Visibility Condition

[BUTTONS] 69. BUTTONS VISIBILITY CONDITION

The function allows you to hide individual buttons from the user and restrict access to them if the Condition is not met.

▪️ Buttons will dynamically appear and disappear when moving to the corresponding menu branch, depending on the set condition.
▪️ To add conditions to the button go to:
🎛 Buttons Editor
*️⃣ Settings
▪️ When user trying to access a hidden button (by its name or command), the bot will show the message "❌Unavailable...", or similar.
❗️  Once checked, the visibility condition consumes 0.1 Token of Functions for each calculation and check. Checking is performed only for those buttons that have a visibility condition and, accordingly, the payment is charged only for them.
▫️ For example: If there are 9 regular buttons in the menu and one with a visibility condition, 0.1 token will be charged when entering this menu.

To add feature go to your bot:
☞ 🔐Admin | 🧩Extensions | 📂 Buttons
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
👾 For 1 bot