UpdateMessagePollVote

class pyrogram.raw.types.UpdateMessagePollVote

A specific peer has voted in a poll

Constructor of Update.

Details:
  • Layer: 223

  • ID: 24F40E77

Parameters:
  • poll_id (int 64-bit) – Poll ID

  • peer (Peer) – The peer that voted in the poll

  • options (List of bytes) – Chosen option(s)

  • qts (int 32-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_idlong
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── optionsVector < bytes >
└── qtsint

Example

UpdateMessagePollVote(
    poll_id=0,
    peer=PeerUser(user_id=0),
    options=[b"data"],
    qts=0,
)