MadelineProtoDocs/old_docs/API_docs_v41/constructors/updateMessagePollVote.md
2020-06-16 17:50:25 +02:00

907 B

title description image
updateMessagePollVote A specific user has voted in a poll https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateMessagePollVote

Back to constructors index

A specific user has voted in a poll

Attributes:

Name Type Required Description
poll_id long Yes Poll ID
user_id int Yes User ID
options Array of bytes Yes Chosen option(s)

Type: Update

Example:

$updateMessagePollVote = ['_' => 'updateMessagePollVote', 'poll_id' => long, 'user_id' => int, 'options' => ['bytes', 'bytes']];

Or, if you're into Lua:

updateMessagePollVote={_='updateMessagePollVote', poll_id=long, user_id=int, options={'bytes'}}