| 1 | <?php |
||
| 14 | class KeyboardButtonEntry extends BaseEntry |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param $text |
||
| 18 | * @param bool $requestContact |
||
| 19 | * @param bool $requestLocation |
||
| 20 | * @return static |
||
| 21 | */ |
||
| 22 | public static function create($text = '', $requestContact = false, $requestLocation = false) |
||
| 29 | |||
| 30 | public function setText($text) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param bool $requestContact |
||
| 37 | * @return BaseEntry |
||
| 38 | */ |
||
| 39 | public function setRequestContact(bool $requestContact) |
||
| 43 | |||
| 44 | public function setRequestLocation(bool $requestLocation){ |
||
| 47 | } |