Interface PollTypeQuiz

A poll in quiz mode, which has exactly one correct answer option and can be answered only once. Subtype of PollType.

interface PollTypeQuiz {
    @type: "pollTypeQuiz";
    correct_option_id: number;
    explanation: FormattedText;
}

Properties

@type: "pollTypeQuiz"
correct_option_id: number

0-based identifier of the correct answer option; -1 for a yet unanswered poll.

explanation: FormattedText

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; empty for a yet unanswered poll.