Link Search Menu Expand Document

Constructor: messagePeerVote

Back to constructors index

How a peer voted in a poll

Attributes:

NameTypeRequiredDescription
peerlongYesPeer ID
optionbytesYesThe option chosen by the peer
dateintYesWhen did the peer cast the vote

Type: MessagePeerVote

Example:

$messagePeerVote = ['_' => 'messagePeerVote', 'peer' => long, 'option' => 'bytes', 'date' => int];