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.
• Lanciare un altro comando personale •

Testo
{[Titolo bottone - personal:comando2]}

Se esiste il comando personale "/comando2", appena qualcuno preme il pulsante, il messaggio verrà modificato con il testo del comando personale /comando2.

👤 Imposta personalu: al posto di personal: per far sì che il pulsante possa essere utilizzato solo dall'utente che ha lanciato il comando.

⭐️ Questa funzione è disponibile solo nei gruppi PRO.
• Bottoni Popup e Alert •
Questo pulsante mostrerà agli utenti un popup/avviso con il testo che hai impostato.

Testo
{[Bottone Popup - popup:Hai premuto il bottone Popup]}
{[Bottone Alert - alert:Hai premuto il bottone Alert]}

• Per andare a capo utilizzare \n:
{[Bottone Popup a capo - popup:Rigo 1\nRigo 2]}
Please open Telegram to view this post
VIEW IN TELEGRAM
• Bottone cancellazione •
Premendo questo pulsante in un messaggio, il messaggio verrà eliminato.

Testo
{[Titolo bottone - del]}

👤 Imposta delu al posto di del per far sì che il pulsante possa essere utilizzato solo dall'utente che ha lanciato il comando.
• Inserire un trattino nel titolo del bottone •
Usa questa sintassi per inserire dei trattini nel nome di un bottone.

Testo
{[Titolo\-bottone - t.me/Link]}
➖➖➖➖➖➖
⁣🇪🇸 Sintaxis de los botones
Los siguientes mensajes explican la sintaxis (formato) que se utilizará para agregar botones en los comandos personales de Group Help.

Te recordamos que para creación de un comando, su contenido debe tener al menos un texto o una multimedia, no puede contener sólo botones.
Please open Telegram to view this post
VIEW IN TELEGRAM
• Botón único •
Esta es la forma de añadir un solo botón con un enlace.

Texto
{[Titulo del botón - t.me/Enlace]}