Constructor: messageUserVote

Back to constructors index

How a user voted in a poll


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


$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.