Buttons Syntax | GH
890 subscribers
57 links
This channel shows how to format buttons for personal commands in Group Help bot.

🆘 If you need support: @iGroupHelp
Download Telegram
Channel created
🇬🇧 Buttons syntax
The following messages explain the syntax to be used to add buttons in Group Help personal commands.

We remind you that a command reply must have at least a text or a media, it cannot contain only buttons.
Please open Telegram to view this post
VIEW IN TELEGRAM
• Single button •
This is the way to add a single button with a link.

Text
{[Button title - t.me/Link]}
• Multiple buttons •
Use this syntax to add multiple rows of buttons and/or multiple buttons in each row.

Text
{[A - link.com]}
{[B - t.me/link][C - @link]}
{[D - @link][E - @link][F - @link]}

Each brace represents a row, each square bracket represents a single button in the line.
• Launch another personal command •

Text
{[Button title - personal:command2]}

If the personal command "/command2" exists, whenever someone press the button, the message will be edited with the text of the personal command /command2.

👤 Use personalu: instead of personal: to ensure that the button can only be used by the user who launched the command.

⭐️ This function works only in pro groups
• Popup and Alert buttons •
This button will show to users a popup/alert with the text you've decided.

Text
{[Popup button - popup:You pressed the Popup button]}
{[Alert button - alert:You pressed the Alert button]}

• For multiple lines, use \n:
{[Popup button new row - popup:Row 1\nRow 2]}
Please open Telegram to view this post
VIEW IN TELEGRAM
• Delete button •
Pressing this button in a message will cause the message to be deleted.

Text
{[Button title - del]}

👤 Use delu instead of del to ensure that the button can only be used by the user who launched the command.
• Insert a dash in a button title •
Use this syntax to add one or more dashes into a button title.

Text
{[Button\-title - t.me/Link]}
➖➖➖➖➖➖
🇮🇹 Sintassi dei bottoni
Nei messaggi seguenti viene spiegata la sintassi da utilizzare per inserire bottoni nei comandi personali di Group Help.

Ricordiamo che la risposta ad un comando deve avere almeno un testo o un media, non può contenere solo dei bottoni.
Please open Telegram to view this post
VIEW IN TELEGRAM
• Pulsante singolo •
Questo è il modo per aggiungere un singolo pulsante con un link.

Testo
{[Titolo bottone - t.me/Link]}
• Bottoni multipli •
Usa questa sintassi per aggiungere più righe di bottoni e/o più bottoni in ogni riga.

Testo
{[A - link.com]}
{[B - t.me/link][C - @link]}
{[D - @link][E - @link][F - @link]}

Ogni parentesi graffa rappresenta una riga, ogni parentesi quadra rappresenta un singolo bottone nella riga.