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