Layer 220
constructor
pollResults#7adf2420 flags:# min:flags.0?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> = 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 the option chosen by the current user (you can use messages. get Poll Results to get the full poll results).
Results Vector<PollAnswerVoters> Poll results
TotalVoters flags.2?int Total number of people that voted in the poll
RecentVoters Vector<Peer> IDs of the last users that recently voted in the poll
Solution flags.4?string Explanation of quiz solution
SolutionEntities Vector<MessageEntity> Message entities for styled text in quiz solution

Returns

PollResults

Gogram Example

// Creating PollResults constructor
obj := &tg.PollResults{

    // Optional fields:
    // Min: true,
    // Results: []tg.PollAnswerVoters{&tg.PollAnswerVoters{}},
    // TotalVoters: 0,
    // RecentVoters: []tg.Peer{&tg.Peer{}},
    // ... more optional fields
}