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

🆘 If you need support: @iGroupHelp
Download Telegram
🇨🇳 按钮语法
在接下来的消息中,将解释在 Group Help 的个人命令中插入按钮的语法。

请注意,命令的回复必须至少包含文本或媒体,不能仅包含按钮。
Please open Telegram to view this post
VIEW IN TELEGRAM
单个按钮
这是添加带有链接的单个按钮的方法。

文本
{[按钮标题 - t.me/Link]}
多个按钮
使用此语法可添加多行按钮和/或每行多个按钮。

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


每个花括号 {} 代表一行,每个方括号 [] 代表该行中的单个按钮。
触发另一个个人命令

文本
{[按钮标题 - personal: command2]}


如果存在个人命令“/command2”,当有人点击按钮时,消息将被修改为个人命令 /command2 的文本。

👤 使用 personalu: 代替 personal:,这样按钮只能由发送命令的用户使用。

⭐️ 此功能仅适用于 PRO 组群。
弹出窗口和警报按钮
此按钮将向用户显示一个包含你设置文本的弹出窗口/警报。

文本
{[弹出按钮 - popup:你点击了弹出按钮]}
{[警报按钮 - alert:你点击了警报按钮]}


• 使用 \n 进行换行:
{[换行弹出按钮 - popup:第一行\n第二行]}
Please open Telegram to view this post
VIEW IN TELEGRAM
删除按钮
点击此按钮时,消息将被删除。

文本
{[按钮标题 - del]}


👤 使用 delu 代替 del,这样按钮只能由发送命令的用户使用。
在按钮标题中插入连字符
使用此语法可以在按钮名称中插入连字符。

文本
{[按钮\-标题 - t.me/Link]}