danog\MadelineProto\EventHandler\Poll\PollAnswer
Author: Daniil Gentili daniil@daniil.it
Represents a possible answer of a poll
Properties
$text:stringTextual representation of the answer$entities:list<MessageEntity>Styled text entities in the answer.$option:stringThe param that has to be passed to messages.sendVote$chosen:?boolWhether we have chosen this answer$correct:?boolFor quizzes, whether the option we have chosen is correct$voters:?intHow many users voted for this option
Method list:
Methods:
getHTML(bool $allowTelegramTags = false): string
Get an HTML version of the answer.
Parameters:
$allowTelegramTags:boolWhether to allow telegram-specific tags like tg-spoiler, tg-emoji, mention links and so on…
Generated by danog/phpdoc