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

Parameters

Name Type Description
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 PollAnswerVotersObj constructor
obj := &tg.PollAnswerVotersObj{
    Option: []byte{0x01, 0x02, 0x03},
    Voters: 42,

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