Skip to main content

pollResults

Results of poll

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

Fields​

NameTypeRequiredDescription
Minbool—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).
HasUnreadVotesbool—HasUnreadVotes field of PollResults.
CanViewStatsbool—CanViewStats field of PollResults.
Results[]PollAnswerVoters—Poll results
TotalVotersint—Total number of people that voted in the poll
RecentVoters[]PeerClass—IDs of the last users that recently voted in the poll
Solutionstring—Explanation of quiz solution
SolutionEntities[]MessageEntityClass—Message entities for styled text in quiz solution
SolutionMediaMessageMediaClass—SolutionMedia field of PollResults.

References​