Skip to main content

pollAnswerVoters

A poll answer, and how users voted on it

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

Fields​

NameTypeRequiredDescription
Chosenbool—Whether we have chosen this answer
Correctbool—For quizzes, whether the option we have chosen is correct
Option[]byteyesThe param that has to be passed to messages.sendVote.
Votersint—How many users voted for this option
RecentVoters[]PeerClass—RecentVoters field of PollAnswerVoters.

References​