Link Search Menu Expand Document

Constructor: keyboardButtonBuy

Back to constructors index

Button to buy a product

Attributes:

NameTypeRequiredDescription
textstringYesButton text

Type: KeyboardButton

Example:

$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string'];