Raw.MessagePeerVote

Raw.MessagePeerVote

How a peer voted in a poll

messagePeerVote#b6cc2d5c peer:Peer option:bytes date:int = MessagePeerVote;
export namespace Raw {
  export class MessagePeerVote {
    constructor(params: { peer: Raw.TypePeer; option: Buffer; date: number }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xb6cc2d5c

Property

  • peer : Raw.TypePeer

    Peer id

  • option : Buffer

    The option chosen by the peer

  • date : number

    When did the peer cast the vote