1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"http_method": "POST",
"url_path": "getUpdates",
"req_body": {
"json": {}
},
"rep_body": {
"ok": true,
"result": [
{
"update_id": 1,
"poll": {
"id": "poll-id",
"question": "Question",
"options": [
{
"persistent_id": "option-1",
"text": "Option 1",
"voter_count": 0
},
{
"persistent_id": "option-2",
"text": "Option 2",
"text_entities": [
{
"type": "bold",
"offset": 0,
"length": 2
}
],
"media": {
"animation": {
"file_id": "animation-file-id",
"file_unique_id": "unique-id",
"width": 200,
"height": 200,
"duration": 30
}
},
"voter_count": 0,
"added_by_user": {
"id": 1,
"first_name": "John",
"is_bot": false
},
"addition_date": 0
},
{
"persistent_id": "option-1",
"text": "Option 1",
"voter_count": 0,
"added_by_chat": {
"type": "group",
"id": 1,
"title": "Test"
}
}
],
"total_voter_count": 0,
"is_closed": true,
"is_anonymous": true,
"type": "regular",
"allows_multiple_answers": true,
"allows_revoting": true,
"members_only": true
}
},
{
"update_id": 1,
"poll": {
"id": "poll-id",
"question": "Question",
"question_entities": [
{
"type": "bold",
"offset": 0,
"length": 2
}
],
"options": [
{
"persistent_id": "option-1",
"text": "Option 1",
"voter_count": 0
},
{
"persistent_id": "option-2",
"text": "Option 2",
"voter_count": 0
}
],
"total_voter_count": 0,
"is_closed": true,
"is_anonymous": true,
"type": "quiz",
"allows_revoting": false,
"members_only": true,
"country_codes": [
"IL"
],
"correct_option_ids": [
0
],
"explanation": "Explanation",
"explanation_entities": [
{
"type": "bold",
"offset": 0,
"length": 1
}
],
"explanation_media": {
"document": {
"file_id": "document-file-id",
"file_unique_id": "unique-id"
}
},
"open_period": 86400,
"close_date": 0,
"description": "Description",
"description_entities": [
{
"type": "bold",
"offset": 0,
"length": 2
}
]
}
}
]
}
}