Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BotMenuButton

Hierarchy

Index

Properties

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

Type declaration

  • text: string
  • url: string
CONSTRUCTOR_ID: 3350559974
SUBCLASS_OF_ID: 1282522428
classType: "constructor"
className: "BotMenuButton"
text: string
url: string

Methods

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

Constructors

  • new BotMenuButton(args: { text: string; url: string }): BotMenuButton

Generated using TypeDoc