Link Search Menu Expand Document

Constructor: updateMessagePoll

Back to constructors index

The results of a poll have changed

Attributes:

NameTypeRequiredDescription
poll_idlongYesPoll ID
pollPollOptionalIf the server knows the client hasn’t cached this poll yet, the poll itself
resultsPollResultsYesNew poll results

Type: Update

Example:

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