| 1 | <?php |
||
| 9 | class ChosenInlineResult extends AbstractEntity |
||
| 10 | { |
||
| 11 | const ENTITY_TYPE = 'ChosenInlineResult'; |
||
| 12 | |||
| 13 | protected $result_id; |
||
| 14 | |||
| 15 | protected $from; |
||
| 16 | |||
| 17 | protected $location; |
||
| 18 | |||
| 19 | protected $inline_message_id; |
||
| 20 | |||
| 21 | protected $query; |
||
| 22 | |||
| 23 | protected $builtInEntities = [ |
||
| 24 | 'from' => User::class, |
||
| 25 | 'location' => Location::class |
||
| 26 | ]; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | public function getResultId() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param mixed $result_id |
||
| 38 | */ |
||
| 39 | public function setResultId($result_id) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return mixed |
||
| 46 | */ |
||
| 47 | public function getFrom() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param mixed $from |
||
| 54 | */ |
||
| 55 | public function setFrom($from) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return mixed |
||
| 62 | */ |
||
| 63 | public function getLocation() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param mixed $location |
||
| 70 | * |
||
| 71 | * @return $this |
||
| 72 | */ |
||
| 73 | public function setLocation($location) |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @return mixed |
||
| 82 | */ |
||
| 83 | public function getInlineMessageId() |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @param mixed $inline_message_id |
||
| 90 | * |
||
| 91 | * @return $this |
||
| 92 | */ |
||
| 93 | public function setInlineMessageId($inline_message_id) |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @return mixed |
||
| 102 | */ |
||
| 103 | public function getQuery() |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @param mixed $query |
||
| 110 | */ |
||
| 111 | public function setQuery($query) |
||
| 115 | } |
||
| 116 |