Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputMediaPoll

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { poll: Poll; correctAnswers?: Buffer[]; solution?: string; solutionEntities?: TypeMessageEntity[] }

Type declaration

  • poll: Poll
  • Optional correctAnswers?: Buffer[]
  • Optional solution?: string
  • Optional solutionEntities?: TypeMessageEntity[]
CONSTRUCTOR_ID: 261416433
SUBCLASS_OF_ID: 4210575092
classType: "constructor"
className: "InputMediaPoll"
poll: Poll
correctAnswers?: Buffer[]
solution?: string
solutionEntities?: TypeMessageEntity[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { poll: Poll; correctAnswers?: Buffer[]; solution?: string; solutionEntities?: TypeMessageEntity[] }

Constructors

Generated using TypeDoc