Constructor: updateMessagePollVote

Back to constructors index

A specific user has voted in a poll

Attributes:

Name Type Required Description
poll_id long Yes Poll ID
user_id int Yes User ID
options Array of bytes Yes Chosen option(s)

Type: Update

Example:

$updateMessagePollVote = ['_' => 'updateMessagePollVote', 'poll_id' => long, 'user_id' => int, 'options' => ['bytes', 'bytes']];

Or, if you’re into Lua:

updateMessagePollVote={_='updateMessagePollVote', poll_id=long, user_id=int, options={'bytes'}}

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