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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
min | true | 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). |
has_unread_votes | true | |
can_view_stats | true | |
results | Vector<PollAnswerVoters> | Poll results |
total_voters | int | Total number of people that voted in the poll |
recent_voters | Vector<Peer> | IDs of the last users that recently voted in the poll |
solution | string | Explanation of quiz solution |
solution_entities | Vector<MessageEntity> | Message entities for styled text in quiz solution |
solution_media | MessageMedia |
type
history
present in layers 91–229 · constructor id changed 5×
| id | layers |
|---|---|
| #5755785a | 91–108 |
| #c87024a2 | 109–111 |
| #badcc1a3 | 112–132 |
| #dcb82ea3 | 133–158 |
| #7adf2420 | 159–223 |
| #ba7bb15e | 224–229 |