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

1015 B

title description nav_exclude image
messagePeerVoteInputOption How a peer voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes) true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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:

Name Type Required Description
peer long Yes The peer that voted for the queried option
date int Yes When did the peer cast the vote

Type: MessagePeerVote

Example:

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