botMenuButton
Bot menu button that opens a web app when clicked.
type tg.BotMenuButton struct { /* ... */ }
Implements BotMenuButton.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Text | string | yes | Title to be displayed on the menu button instead of 'Menu' |
URL | string | yes | URL of a web app to open when the user clicks on the button |
References
- Official documentation
- Generated Go reference
- TL definition:
botMenuButton#c7b57ce6