Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PollAnswer

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { text: string; option: Buffer }

Type declaration

  • text: string
  • option: Buffer
CONSTRUCTOR_ID: 1823064809
SUBCLASS_OF_ID: 2124799390
classType: "constructor"
className: "PollAnswer"
text: string
option: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { text: string; option: Buffer }

Constructors

  • new PollAnswer(args: { text: string; option: Buffer }): PollAnswer

Generated using TypeDoc