1 | <?php |
||
19 | class ReplyKeyboardMarkup extends KeyboardMethods |
||
20 | { |
||
21 | /** |
||
22 | * Array of button rows, each represented by an Array of KeyboardButton objects |
||
23 | * @var array |
||
24 | */ |
||
25 | public $keyboard = []; |
||
26 | |||
27 | /** |
||
28 | * Optional. Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if |
||
29 | * there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same |
||
30 | * height as the app's standard keyboard. |
||
31 | * @var bool |
||
32 | */ |
||
33 | public $resize_keyboard = false; |
||
34 | |||
35 | /** |
||
36 | * Optional. Requests clients to hide the keyboard as soon as it's been used. The keyboard will still be available, |
||
37 | * but clients will automatically display the usual letter-keyboard in the chat – the user can press a special |
||
38 | * button in the input field to see the custom keyboard again. Defaults to false. |
||
39 | * @var bool |
||
40 | */ |
||
41 | public $one_time_keyboard = false; |
||
42 | |||
43 | public function mapSubObjects(string $key, array $data): TelegramTypes |
||
52 | } |
||
53 |