Constructor: keyboardButtonBuy
Button to buy a product
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| style | KeyboardButtonStyle | Optional | |
| text | string | Yes | Button text |
Type: KeyboardButton
Example:
$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'style' => KeyboardButtonStyle, 'text' => 'string'];