Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyboardButtonUrlAuth

Hierarchy

  • VirtualClass<{ text: string; fwdText?: string; url: string; buttonId: int }>
    • KeyboardButtonUrlAuth

Index

Properties

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

Type declaration

  • text: string
  • Optional fwdText?: string
  • url: string
  • buttonId: number
CONSTRUCTOR_ID: 280464681
SUBCLASS_OF_ID: 195916963
classType: "constructor"
className: "KeyboardButtonUrlAuth"
text: string
fwdText?: string
url: string
buttonId: number

Methods

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

    • text: string
    • Optional fwdText?: string
    • url: string
    • buttonId: number

Constructors

  • new KeyboardButtonUrlAuth(args: { text: string; fwdText?: string; url: string; buttonId: number }): KeyboardButtonUrlAuth

Generated using TypeDoc