keyboardButton
Bot keyboard button
type tg.KeyboardButton struct { /* ... */ }
Implements KeyboardButton.
Fieldsโ
| Name | Type | Required | Description |
|---|---|---|---|
Style | KeyboardButtonStyle | โ | Button style, see here ยป for more info on button styles. |
Text | string | yes | Button text |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
keyboardButton#7d170cff