Constructor: pollResults
Results of poll
Attributes:
Name | Type | Required | Description |
---|---|---|---|
min | Bool | Optional | Similar to min objects, used for poll constructors that are the same for all users so they don’t have the option chosen by the current user (you can use messages.getPollResults to get the full poll results). |
results | Array of PollAnswerVoters | Optional | Poll results |
total_voters | int | Optional | Total number of people that voted in the poll |
recent_voters | Array of Peer | Optional | IDs of the last users that recently voted in the poll |
solution | string | Optional | Explanation of quiz solution |
solution_entities | Array of MessageEntity | Optional | Message entities for styled text in quiz solution |
Type: PollResults
Example:
$pollResults = ['_' => 'pollResults', 'min' => Bool, 'results' => [PollAnswerVoters, PollAnswerVoters], 'total_voters' => int, 'recent_voters' => [Peer, Peer], 'solution' => 'string', 'solution_entities' => [MessageEntity, MessageEntity]];