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

974 B

title description image
messageUserVoteMultiple How a user voted in a multiple-choice poll https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageUserVoteMultiple

Back to constructors index

How a user voted in a multiple-choice poll

Attributes:

Name Type Required Description
user_id int Yes User ID
options Array of bytes Yes Options chosen by the user
date int Yes When did the user cast their votes

Type: MessageUserVote

Example:

$messageUserVoteMultiple = ['_' => 'messageUserVoteMultiple', 'user_id' => int, 'options' => ['bytes', 'bytes'], 'date' => int];

Or, if you're into Lua:

messageUserVoteMultiple={_='messageUserVoteMultiple', user_id=int, options={'bytes'}, date=int}