keyboardButtonBuy

Button to buy a product

Available only in inline keyboards.

When pressed, clients must start the payment flow for the attached invoice.

keyboardButtonBuy#3fa53905 flags:# style:flags.10?KeyboardButtonStyle text:string = KeyboardButton;

Parameters

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

Type

KeyboardButton

Related pages

Bot buttons

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.

replyInlineMarkup

Represents an inline keyboard

Payments API

You can accept payments from Telegram users via Telegram Bots.