InputPollTypeQuiz¶
A poll in quiz mode, which has predefined correct answers
InputPollTypeQuiz(
correct_option_ids: list of int32,
explanation: FormattedText,
explanation_media: InputPollMedia
) → InputPollType
correct_option_ids¶
list of int32
Increasing list of 0-based identifiers of the correct answer options; must be non-empty
explanation¶
Text that is shown when the user chooses an incorrect answer or taps on the lamp icon; 0-200 characters with at most 2 line feeds
explanation_media¶
Media that is shown when the user chooses an incorrect answer or taps on the lamp icon; pass null if none. Must be one of the following types: inputPollMediaAnimation, inputPollMediaAudio, inputPollMediaDocument, inputPollMediaLocation, inputPollMediaPhoto, inputPollMediaVenue, or inputPollMediaVideo without caption