Constructor: messageUserVote

Back to constructors index

How a user voted in a poll

Attributes:

Name Type Required Description
user_id int Yes User ID
option bytes Yes The option chosen by the user
date int Yes When did the user cast the vote

Type: MessageUserVote

Example:

$messageUserVote = ['_' => 'messageUserVote', 'user_id' => int, 'option' => 'bytes', 'date' => int];

Or, if you’re into Lua:

messageUserVote={_='messageUserVote', user_id=int, option='bytes', date=int}

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