Link Search Menu Expand Document

Constructor: updateMessagePollVote

Back to constructors index

A specific peer has voted in a poll

Attributes:

NameTypeRequiredDescription
poll_idlongYesPoll ID
peerlongYesThe peer that voted in the poll
optionsArray of bytesYesChosen option(s)
qtsintYesNew qts value, see updates » for more info.

Type: Update

Example:

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