UpdateMessagePollVote
- class pyrogram.raw.types.UpdateMessagePollVote
A specific peer has voted in a poll
Constructor of
Update.- Details:
Layer:
223ID:
24F40E77
- Parameters:
poll_id (
int64-bit) – Poll IDpeer (
Peer) – The peer that voted in the polloptions (List of
bytes) – Chosen option(s)qts (
int32-bit) – New qts value, see updates » for more info.
TL Schema
updateMessagePollVote#24f40e77
poll_id:long
peer:Peer
options:Vector<bytes>
qts:int
= Update
Parameter Tree
UpdateMessagePollVote
├── poll_id →
long├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── options →
Vector < bytes >└── qts →
intExample
UpdateMessagePollVote(
poll_id=0,
peer=PeerUser(user_id=0),
options=[b"data"],
qts=0,
)