Link Search Menu Expand Document

Constructor: messagePeerVoteInputOption

Back to constructors index

How a peer voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes)

Attributes:

NameTypeRequiredDescription
peerlongYesThe peer that voted for the queried option
dateintYesWhen did the peer cast the vote

Type: MessagePeerVote

Example:

$messagePeerVoteInputOption = ['_' => 'messagePeerVoteInputOption', 'peer' => long, 'date' => int];