Layer 227
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
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).
HasUnreadVotes flags .6? true Whether there are unread votes in this non-anonymous poll, see polls
CanViewStats flags .7? true Whether the current user can view detailed poll statistics
Results flags .1? Vector < PollAnswerVoters > Poll results
TotalVoters flags .2? int Total number of people that voted in the poll
RecentVoters flags .3? Vector < Peer > IDs of the last users that recently voted in the poll
Solution flags .4? string Explanation of quiz solution
SolutionEntities flags .4? Vector < MessageEntity > Message entities for styled text in quiz solution
SolutionMedia flags .5? MessageMedia Optional media attachment shown alongside the quiz solution explanation

Returns

PollResults

Gogram Example

// Creating PollResultsObj constructor
obj := &tg.PollResultsObj{
    Min: nil,
    HasUnreadVotes: nil,
    CanViewStats: nil,
    Results: nil,
    TotalVoters: nil,
    RecentVoters: nil,
    // ... more required fields
}