Constructor: messageUserVoteInputOption

Back to constructors index

How a user voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes)


Name Type Required Description
user_id int Yes The user that voted for the queried option
date int Yes When did the user cast the vote

Type: MessageUserVote


$messageUserVoteInputOption = ['_' => 'messageUserVoteInputOption', 'user_id' => int, 'date' => int];

Or, if you’re into Lua:

messageUserVoteInputOption={_='messageUserVoteInputOption', user_id=int, date=int}

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