Layer 220
UpdateMessagePollVote
A specific peer has voted in a poll
constructor
updateMessagePollVote#24f40e77 poll_id:long peer:Peer options:Vector<bytes> qts:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| PollId | long | Poll ID |
| Peer | Peer | The peer that voted in the poll |
| Options | Vector<bytes> | Chosen option(s) |
| Qts | int | New qts value, see updates for more info. |
Returns
UpdateGogram Example
// Creating UpdateMessagePollVote constructor obj := &tg.UpdateMessagePollVote{ PollId: int64(0), Peer: &tg.Peer{}, Options: []bytes{}, Qts: 0, }