keyboardButtonBuy
Button to buy a product
type tg.KeyboardButtonBuy 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:
keyboardButtonBuy#3fa53905