Poll Class
extends BaseContains information about a poll
Properties
client Client
See the codecorrectOptionId number
0-based identifier of the correct answer option. Available only for polls in the quiz mode, which are closed, or was sent (not forwarded) by the bot or to the private chat with the bot.
See the codeexplanation string
Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters
See the codeexplanationEntities
Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll
See the code