telegram api constructor · layer 229 · #883a4108
inputMediaPoll
A poll
definition
inputMediaPoll#883a4108 flags:# poll:Poll correct_answers:flags.0?Vector<int> attached_media:flags.3?InputMedia solution:flags.1?string solution_entities:flags.1?Vector<MessageEntity> solution_media:flags.2?InputMedia = InputMedia;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
poll | Poll | The poll to send |
correct_answers | Vector<int> | Correct answer IDs (for quiz polls) |
attached_media | InputMedia | |
solution | string | Explanation of quiz solution |
solution_entities | Vector<MessageEntity> | Message entities for styled text |
solution_media | InputMedia |
type
InputMedia · 19 other constructors
history
present in layers 91–229 · constructor id changed 3×
| id | layers |
|---|---|
| #06b3765b | 91–108 |
| #abe9ca25 | 109–111 |
| #0f94e5f1 | 112–223 |
| #883a4108 | 224–229 |