Constructor: keyboardButton
Bot keyboard button
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| style | KeyboardButtonStyle | Optional | |
| text | string | Yes | Button text |
Type: KeyboardButton
Example:
$keyboardButton = ['_' => 'keyboardButton', 'style' => KeyboardButtonStyle, 'text' => 'string'];