Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Poll\PollAnswer

Back to index

Author: Daniil Gentili daniil@daniil.it

Represents a possible answer of a poll

Properties

  • $text: string Textual representation of the answer
  • $option: string The param that has to be passed to messages.sendVote
  • $chosen: ?bool Whether we have chosen this answer
  • $correct: ?bool For quizzes, whether the option we have chosen is correct
  • $voters: ?int How many users voted for this option — Generated by danog/phpdoc