Layer 220
BotMenuButton
Bot menu button that opens a web app when clicked.
constructor
botMenuButton#c7b57ce6 text:string url:string = BotMenuButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | string | Title to be displayed on the menu button instead of 'Menu' |
| Url | string | URL of a web app to open when the user clicks on the button |
Returns
BotMenuButtonGogram Example
// Creating BotMenuButton constructor obj := &tg.BotMenuButton{ Text: "...", Url: "...", }