MadelineProtoDocs/docs/API_docs/constructors/updateMessagePollVote.md
2024-05-01 14:53:46 +02:00

1018 B

title description nav_exclude image
updateMessagePollVote A specific peer has voted in a poll true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateMessagePollVote

Back to constructors index

A specific peer has voted in a poll

Attributes:

Name Type Required Description
poll_id long Yes Poll ID
peer long Yes The peer that voted in the poll
options Array of bytes Yes Chosen option(s)
qts int Yes New qts value, see updates » for more info.

Type: Update

Example:

$updateMessagePollVote = ['_' => 'updateMessagePollVote', 'poll_id' => long, 'peer' => long, 'options' => ['bytes', 'bytes'], 'qts' => int];