PollAnswerVoters
- class pyrogram.raw.types.PollAnswerVoters
A poll answer, and how users voted on it
Constructor of
PollAnswerVoters.- Details:
Layer:
223ID:
3B6DDAD2
- Parameters:
option (
bytes) – The param that has to be passed to messages.sendVote.voters (
int32-bit) – How many users voted for this optionchosen (
bool, optional) – Whether we have chosen this answercorrect (
bool, optional) – For quizzes, whether the option we have chosen is correct
TL Schema
pollAnswerVoters#3b6ddad2
flags:#
chosen:flags.0?true
correct:flags.1?true
option:bytes
voters:int
= PollAnswerVoters
Parameter Tree
PollAnswerVoters
├── chosen →
true (optional)├── correct →
true (optional)├── option →
bytes└── voters →
intExample
PollAnswerVoters(
option=b"data",
voters=0,
)