Button to buy a product
Available only in inline keyboards.
When pressed, clients must start the payment flow for the attached invoice.
keyboardButtonBuy#afd93fbb text:string = KeyboardButton;
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| style | flags.10?KeyboardButtonStyle | Button style, see here ยป for more info on button styles. |
| text | string | Button text |
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.
Represents an inline keyboard
You can accept payments from Telegram users via Telegram Bots.