Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BotCallbackAnswer

Hierarchy

  • VirtualClass<{ alert?: boolean; hasUrl?: boolean; nativeUi?: boolean; message?: string; url?: string; cacheTime: int }>
    • BotCallbackAnswer

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { alert?: boolean; hasUrl?: boolean; nativeUi?: boolean; message?: string; url?: string; cacheTime: number }

Type declaration

  • Optional alert?: boolean
  • Optional hasUrl?: boolean
  • Optional nativeUi?: boolean
  • Optional message?: string
  • Optional url?: string
  • cacheTime: number
CONSTRUCTOR_ID: 911761060
SUBCLASS_OF_ID: 1817039244
classType: "constructor"
className: "messages.BotCallbackAnswer"
alert?: boolean
hasUrl?: boolean
nativeUi?: boolean
message?: string
url?: string
cacheTime: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { alert?: boolean; hasUrl?: boolean; nativeUi?: boolean; message?: string; url?: string; cacheTime: number }
  • Returns { alert?: boolean; hasUrl?: boolean; nativeUi?: boolean; message?: string; url?: string; cacheTime: number }

    • Optional alert?: boolean
    • Optional hasUrl?: boolean
    • Optional nativeUi?: boolean
    • Optional message?: string
    • Optional url?: string
    • cacheTime: number

Constructors

  • new BotCallbackAnswer(args: { alert?: boolean; hasUrl?: boolean; nativeUi?: boolean; message?: string; url?: string; cacheTime: number }): BotCallbackAnswer
  • Parameters

    • args: { alert?: boolean; hasUrl?: boolean; nativeUi?: boolean; message?: string; url?: string; cacheTime: number }
      • Optional alert?: boolean
      • Optional hasUrl?: boolean
      • Optional nativeUi?: boolean
      • Optional message?: string
      • Optional url?: string
      • cacheTime: number

    Returns BotCallbackAnswer

Generated using TypeDoc