| 1 | <?php |
||
| 18 | class ChosenResult extends TelegramTypes |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * The unique identifier for the result that was chosen |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $result_id = ''; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The user that chose the result |
||
| 28 | * @var User |
||
| 29 | */ |
||
| 30 | public $from = null; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Optional. Sender location, only for bots that require user location |
||
| 34 | * @var Location |
||
| 35 | */ |
||
| 36 | public $location = null; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the |
||
| 40 | * message. Will be also received in callback queries and can be used to edit the message. |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | public $inline_message_id = ''; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Text of the query |
||
| 47 | * @var string |
||
| 48 | */ |
||
| 49 | public $query = ''; |
||
| 50 | |||
| 51 | 1 | protected function mapSubObjects(string $key, array $data): TelegramTypes |
|
| 62 | } |
||
| 63 |