telegram api constructor · layer 229 · #ba7bb15e

pollResults

Results of poll

definition

pollResults#ba7bb15e flags:# min:flags.0?true has_unread_votes:flags.6?true can_view_stats:flags.7?true results:flags.1?Vector<PollAnswerVoters> total_voters:flags.2?int recent_voters:flags.3?Vector<Peer> solution:flags.4?string solution_entities:flags.4?Vector<MessageEntity> solution_media:flags.5?MessageMedia = PollResults;

parameters

nametypedescription
flags#Flags, see TL conditional fields
minflags.0?trueSimilar 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).
has_unread_votesflags.6?true
can_view_statsflags.7?true
resultsflags.1?Vector<PollAnswerVoters>Poll results
total_votersflags.2?intTotal number of people that voted in the poll
recent_votersflags.3?Vector<Peer>IDs of the last users that recently voted in the poll
solutionflags.4?stringExplanation of quiz solution
solution_entitiesflags.4?Vector<MessageEntity>Message entities for styled text in quiz solution
solution_mediaflags.5?MessageMedia

type

PollResults

history

present in layers 91–229 · constructor id changed 5×

idlayers
#5755785a91–108
#c87024a2109–111
#badcc1a3112–132
#dcb82ea3133–158
#7adf2420159–223
#ba7bb15e224–229