Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PollAnswerVoters

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { chosen?: boolean; correct?: boolean; option: Buffer; voters: number }

Type declaration

  • Optional chosen?: boolean
  • Optional correct?: boolean
  • option: Buffer
  • voters: number
CONSTRUCTOR_ID: 997055186
SUBCLASS_OF_ID: 2095107985
classType: "constructor"
className: "PollAnswerVoters"
chosen?: boolean
correct?: boolean
option: Buffer
voters: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { chosen?: boolean; correct?: boolean; option: Buffer; voters: number }
  • Returns { chosen?: boolean; correct?: boolean; option: Buffer; voters: number }

    • Optional chosen?: boolean
    • Optional correct?: boolean
    • option: Buffer
    • voters: number

Constructors

  • new PollAnswerVoters(args: { chosen?: boolean; correct?: boolean; option: Buffer; voters: number }): PollAnswerVoters

Generated using TypeDoc