1 | <?php |
||
14 | class KeyboardButtonEntry extends BaseEntry |
||
15 | { |
||
16 | /** |
||
17 | * @param $text |
||
18 | * @param bool $requestContact |
||
19 | * @param bool $requestLocation |
||
20 | * @return KeyboardButtonEntry |
||
21 | */ |
||
22 | 1 | public static function create($text = '', $requestContact = false, $requestLocation = false) |
|
29 | |||
30 | /** |
||
31 | * @param $text |
||
32 | * @return $this |
||
33 | */ |
||
34 | 1 | public function setText($text) |
|
38 | |||
39 | /** |
||
40 | * @param bool $requestContact |
||
41 | * @return $this |
||
42 | */ |
||
43 | 1 | public function setRequestContact($requestContact) |
|
47 | |||
48 | /** |
||
49 | * @param bool $requestLocation |
||
50 | * @return $this |
||
51 | */ |
||
52 | 1 | public function setRequestLocation($requestLocation){ |
|
55 | } |