MadelineProtoDocs/docs/API_docs/constructors/updateMessagePollVote.md

824 B

title description image
updateMessagePollVote updateMessagePollVote attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateMessagePollVote

Back to constructors index

Attributes:

Name Type Required
poll_id long Yes
user_id int Yes
options Array of bytes Yes

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'}}