updateMessagePollVote #

A specific peer has voted in a poll (this update can only be received by a bot).

Layer 223

updateMessagePollVote#24f40e77 poll_id:long peer:Peer options:Vector<bytes> qts:int = Update;

Parameters #

NameTypeDescription
poll_idlongPoll ID
peerPeerThe peer that voted in the poll
optionsVector<bytes>Chosen option(s)
positionsVector<int>0-based indices of the voted options within the answers vector, corresponding element-by-element to options
qtsintNew qts value, see updates » for more info.

Type #

Update

Working with Updates #

How to subscribe to updates and handle them properly.