Link Search Menu Expand Document

Constructor: messagePeerVoteMultiple

Back to constructors index

How a peer voted in a multiple-choice poll

Attributes:

NameTypeRequiredDescription
peerlongYesPeer ID
optionsArray of bytesYesOptions chosen by the peer
dateintYesWhen did the peer cast their votes

Type: MessagePeerVote

Example:

$messagePeerVoteMultiple = ['_' => 'messagePeerVoteMultiple', 'peer' => long, 'options' => ['bytes', 'bytes'], 'date' => int];