PollAnswerVoters

class pyrogram.raw.base.PollAnswerVoters

How users voted on a certain poll answer

Constructors:

This base type has 1 constructor available.

PollAnswerVoters

A poll answer, and how users voted on it

TL Schema

pollAnswerVoters#3b6ddad2
flags:#
chosen:flags.0?true
correct:flags.1?true
option:bytes
voters:int

= PollAnswerVoters

Parameter Tree

PollAnswerVoters
├── chosentrue (optional)
├── correcttrue (optional)
├── optionbytes
└── votersint

Example

PollAnswerVoters(
    chosen=None,
    correct=None,
    option=b"data",
    voters=0,
)