Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyboardButtonCallback

Hierarchy

  • VirtualClass<{ requiresPassword?: boolean; text: string; data: bytes }>
    • KeyboardButtonCallback

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { requiresPassword?: boolean; text: string; data: Buffer }

Type declaration

  • Optional requiresPassword?: boolean
  • text: string
  • data: Buffer
CONSTRUCTOR_ID: 901503851
SUBCLASS_OF_ID: 195916963
classType: "constructor"
className: "KeyboardButtonCallback"
requiresPassword?: boolean
text: string
data: Buffer

Methods

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

Constructors

  • new KeyboardButtonCallback(args: { requiresPassword?: boolean; text: string; data: Buffer }): KeyboardButtonCallback

Generated using TypeDoc