Constructor: keyboardButtonBuy

Back to constructors index

Button to buy a product

Attributes:

NameTypeRequiredDescription
styleKeyboardButtonStyleOptional
textstringYesButton text

Type: KeyboardButton

Example:

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