PollTypeQuiz¶
A poll in quiz mode, which has predefined correct answers
PollTypeQuiz(
correct_option_ids: list of int32,
explanation: FormattedText,
explanation_media: PollMedia
) → PollType
correct_option_ids¶
list of int32
Increasing list of 0-based identifiers of the correct answer options; empty for a yet unanswered poll
explanation¶
Text that is shown when the user chooses an incorrect answer or taps on the lamp icon; empty for a yet unanswered poll
explanation_media¶
Media that is shown when the user chooses an incorrect answer or taps on the lamp icon; may be null if none or the poll is unanswered yet. If present, currently, can be only of the types pollMediaAnimation, pollMediaAudio, pollMediaDocument, pollMediaLocation, pollMediaPhoto, pollMediaVenue, or pollMediaVideo