Layer 220
MessagePeerVoteInputOption
How a peer voted in a poll (reduced constructor, returned if an option was provided to messages. get Poll Votes )
constructor
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | Peer | The peer that voted for the queried option |
| Date | int | When did the peer cast the vote |
Returns
MessagePeerVoteGogram Example
// Creating MessagePeerVoteInputOption constructor obj := &tg.MessagePeerVoteInputOption{ Peer: &tg.Peer{}, Date: 0, }