1 | <?php |
||
5 | class ReplyKeyboardMarkup extends AbstractEntity |
||
6 | { |
||
7 | |||
8 | const ENTITY_TYPE = 'ReplyKeyboardMarkup'; |
||
9 | |||
10 | protected $keyboard; |
||
11 | |||
12 | protected $resize_keyboard; |
||
13 | |||
14 | protected $one_time_keyboard; |
||
15 | |||
16 | protected $selective; |
||
17 | |||
18 | protected $supportedProperties = [ |
||
19 | 'keyboard' => true, |
||
20 | 'resize_keyboard' => false, |
||
21 | 'one_time_keyboard' => false, |
||
22 | 'selective' => false, |
||
23 | ]; |
||
24 | |||
25 | /** |
||
26 | * @return array |
||
27 | */ |
||
28 | public function getKeyboard() |
||
32 | |||
33 | /** |
||
34 | * @param array $keyboard |
||
35 | * |
||
36 | * @return $this |
||
37 | */ |
||
38 | public function setKeyboard($keyboard) |
||
44 | |||
45 | /** |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function getResizeKeyboard() |
||
52 | |||
53 | /** |
||
54 | * @param mixed $resize_keyboard |
||
55 | * |
||
56 | * @return $this |
||
57 | */ |
||
58 | public function setResizeKeyboard($resize_keyboard) |
||
64 | |||
65 | /** |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function getOneTimeKeyboard() |
||
72 | |||
73 | /** |
||
74 | * @param mixed $one_time_keyboard |
||
75 | * |
||
76 | * @return $this |
||
77 | */ |
||
78 | public function setOneTimeKeyboard($one_time_keyboard) |
||
84 | |||
85 | /** |
||
86 | * @return mixed |
||
87 | */ |
||
88 | public function getSelective() |
||
92 | |||
93 | /** |
||
94 | * @param mixed $selective |
||
95 | * |
||
96 | * @return $this |
||
97 | */ |
||
98 | public function setSelective($selective) |
||
104 | |||
105 | /** |
||
106 | * Returns object's properties encoded as JSON string |
||
107 | * |
||
108 | * @param bool $validate Flag whether validation for required properties should be applied |
||
109 | * |
||
110 | * @return string |
||
111 | */ |
||
112 | public function asJson($validate = true) |
||
131 | } |
||
132 |