Layer 220
constructor
pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Chosen flags.0?true Whether we have chosen this answer
Correct flags.1?true For quizzes, whether the option we have chosen is correct
Option bytes The param that has to be passed to messages. send Vote.
Voters int How many users voted for this option

Gogram Example

// Creating PollAnswerVoters constructor
obj := &tg.PollAnswerVoters{
    Option: []byte{},
    Voters: 0,

    // Optional fields:
    // Chosen: true,
    // Correct: true,
}