Raw.PollAnswer

Raw.PollAnswer

A possible answer of a poll

pollAnswer#ff16e2ca text:TextWithEntities option:bytes = PollAnswer;
export namespace Raw {
  export class PollAnswer {
    constructor(params: { text: Raw.TypeTextWithEntities; option: Buffer }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xff16e2ca

Property

  • text : Raw.TypeTextWithEntities

    Textual representation of the answer (premium users only, only custom emoji entities are supported).

  • option : Buffer

    The param that has to be passed to messages.sendvote.