Skip to main content

pollAnswerVoters

A poll answer, and how users voted on it

type tg.PollAnswerVoters struct { /* ... */ }

Fields

NameTypeRequiredDescription
ChosenboolWhether we have chosen this answer
CorrectboolFor quizzes, whether the option we have chosen is correct
Option[]byteyesThe param that has to be passed to messages.sendVote.
VotersintHow many users voted for this option
RecentVoters[]PeerClassRecentVoters field of PollAnswerVoters.

References