pollResults

Results of poll

pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector<PollAnswerVoters> total_voters:flags.2?int = PollResults;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
min flags.0?true Similar to min objects, used for poll constructors that are the same for all users so they don't have option chosen by the current user (you can use messages.getPollResults to get the full poll results).
results flags.1?Vector<PollAnswerVoters> Poll results
total_voters flags.2?int Total number of people that voted in the poll

Type

PollResults

Related pages

Min constructors

In some situations user and channel constructors have reduced set of fields present (although id is always there) and min flag set.

messages.getPollResults

Get poll results