Constructor: updateMessagePoll

Back to constructors index

The results of a poll have changed


Name Type Required Description
poll_id long Yes Poll ID
poll Poll Optional If the server knows the client hasn’t cached this poll yet, the poll itself
results PollResults Yes New poll results

Type: Update


$updateMessagePoll = ['_' => 'updateMessagePoll', 'poll_id' => long, 'poll' => Poll, 'results' => PollResults];

Or, if you’re into Lua:

updateMessagePoll={_='updateMessagePoll', poll_id=long, poll=Poll, results=PollResults}

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