Layer 227
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) |
| Positions | Vector < int > | 0-based indices of the voted options within the answers vector, corresponding element-by-element to options |
| Qts | int | New qts value, see updates for more info. |
Returns
UpdateGogram Example
// Creating UpdateMessagePollVote constructor obj := &tg.UpdateMessagePollVote{ PollId: int64(1234567890), Peer: &tg.Peer{}, Options: &tg.VectorBytes{}, Positions: &tg.VectorInt{}, Qts: 42, }