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

827 B

title description nav_exclude image
messagePeerVote How a peer voted in a poll true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messagePeerVote

Back to constructors index

How a peer voted in a poll

Attributes:

Name Type Required Description
peer long Yes Peer ID
option bytes Yes The option chosen by the peer
date int Yes When did the peer cast the vote

Type: MessagePeerVote

Example:

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