1 | <?php |
||
16 | class PollAnswer extends TelegramTypes |
||
17 | { |
||
18 | /** |
||
19 | * Unique poll identifier |
||
20 | * @var string |
||
21 | */ |
||
22 | public $poll_id; |
||
23 | |||
24 | /** |
||
25 | * The user, who changed the answer to the poll |
||
26 | * @var User |
||
27 | */ |
||
28 | public $user; |
||
29 | |||
30 | /** |
||
31 | * 0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote. |
||
32 | * @var int[] |
||
33 | */ |
||
34 | public $option_ids = []; |
||
35 | |||
36 | public function mapSubObjects(string $key, array $data): TelegramTypes |
||
44 | } |
||
45 |