Layer 220
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

MessagePeerVote

Gogram Example

// Creating MessagePeerVoteInputOption constructor
obj := &tg.MessagePeerVoteInputOption{
    Peer: &tg.Peer{},
    Date: 0,
}