Skip to main content

updateMessagePoll

The results of a poll have changed

type tg.UpdateMessagePoll struct { /* ... */ }

Implements Update.

Fields​

NameTypeRequiredDescription
PeerPeerClass—Peer field of UpdateMessagePoll.
MsgIDint—MsgID field of UpdateMessagePoll.
TopMsgIDint—TopMsgID field of UpdateMessagePoll.
PollIDint64yesPoll ID
PollPoll—If the server knows the client hasn't cached this poll yet, the poll itself
ResultsPollResultsyesNew poll results

References​