messagePeerVoteInputOption
How a peer voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes)
type tg.MessagePeerVoteInputOption struct { /* ... */ }
Implements MessagePeerVote.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Peer | PeerClass | yes | The peer that voted for the queried option |
Date | int | yes | When did the peer cast the vote |
References
- Official documentation
- Generated Go reference
- TL definition:
messagePeerVoteInputOption#74cda504