Constructor: updateMessagePoll
The results of a poll have changed
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| peer | long | Optional | |
| msg_id | int | Optional | |
| top_msg_id | int | Optional | |
| 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
Example:
$updateMessagePoll = ['_' => 'updateMessagePoll', 'peer' => long, 'msg_id' => int, 'top_msg_id' => int, 'poll_id' => long, 'poll' => Poll, 'results' => PollResults];