Skip to main content

pollResults

Results of poll

type tg.PollResults struct { /* ... */ }

Fields

NameTypeRequiredDescription
MinboolSimilar 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).
HasUnreadVotesboolHasUnreadVotes field of PollResults.
CanViewStatsboolCanViewStats field of PollResults.
Results[]PollAnswerVotersPoll results
TotalVotersintTotal number of people that voted in the poll
RecentVoters[]PeerClassIDs of the last users that recently voted in the poll
SolutionstringExplanation of quiz solution
SolutionEntities[]MessageEntityClassMessage entities for styled text in quiz solution
SolutionMediaMessageMediaClassSolutionMedia field of PollResults.

References