Layer 220
UpdateMessagePoll
The results of a poll have changed
constructor
updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| PollId | long | Poll ID |
| Poll | flags.0?Poll | If the server knows the client hasn't cached this poll yet, the poll itself |
| Results | PollResults | New poll results |
Returns
UpdateGogram Example
// Creating UpdateMessagePoll constructor obj := &tg.UpdateMessagePoll{ PollId: int64(0), Results: &tg.PollResults{}, // Optional fields: // Poll: &tg.Poll{}, }