Raw.MessagePeerVoteInputOption

Raw.MessagePeerVoteInputOption

How a peer voted in a poll (reduced constructor, returned if an option was provided to messages.getpollvotes)

messagePeerVoteInputOption#74cda504 peer:Peer date:int = MessagePeerVote;
export namespace Raw {
  export class MessagePeerVoteInputOption {
    constructor(params: { peer: Raw.TypePeer; date: number }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x74cda504

Property

  • peer : Raw.TypePeer

    The peer that voted for the queried option

  • date : number

    When did the peer cast the vote