MadelineProtoDocs/old_docs/API_docs_v109/constructors/updateMessagePollVote.md
2020-03-06 12:24:14 +01:00

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