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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.