Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CodeSettings

Hierarchy

  • VirtualClass<{ allowFlashcall?: boolean; currentNumber?: boolean; allowAppHash?: boolean; allowMissedCall?: boolean; allowFirebase?: boolean; logoutTokens?: bytes[]; token?: string; appSandbox?: Bool }>
    • CodeSettings

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { allowFlashcall?: boolean; currentNumber?: boolean; allowAppHash?: boolean; allowMissedCall?: boolean; allowFirebase?: boolean; logoutTokens?: Buffer[]; token?: string; appSandbox?: boolean }

Type declaration

  • Optional allowFlashcall?: boolean
  • Optional currentNumber?: boolean
  • Optional allowAppHash?: boolean
  • Optional allowMissedCall?: boolean
  • Optional allowFirebase?: boolean
  • Optional logoutTokens?: Buffer[]
  • Optional token?: string
  • Optional appSandbox?: boolean
CONSTRUCTOR_ID: 2904898936
SUBCLASS_OF_ID: 1223539850
classType: "constructor"
className: "CodeSettings"
allowFlashcall?: boolean
currentNumber?: boolean
allowAppHash?: boolean
allowMissedCall?: boolean
allowFirebase?: boolean
logoutTokens?: Buffer[]
token?: string
appSandbox?: boolean

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { allowFlashcall?: boolean; currentNumber?: boolean; allowAppHash?: boolean; allowMissedCall?: boolean; allowFirebase?: boolean; logoutTokens?: Buffer[]; token?: string; appSandbox?: boolean }
  • Returns { allowFlashcall?: boolean; currentNumber?: boolean; allowAppHash?: boolean; allowMissedCall?: boolean; allowFirebase?: boolean; logoutTokens?: Buffer[]; token?: string; appSandbox?: boolean }

    • Optional allowFlashcall?: boolean
    • Optional currentNumber?: boolean
    • Optional allowAppHash?: boolean
    • Optional allowMissedCall?: boolean
    • Optional allowFirebase?: boolean
    • Optional logoutTokens?: Buffer[]
    • Optional token?: string
    • Optional appSandbox?: boolean

Constructors

  • new CodeSettings(args: { allowFlashcall?: boolean; currentNumber?: boolean; allowAppHash?: boolean; allowMissedCall?: boolean; allowFirebase?: boolean; logoutTokens?: Buffer[]; token?: string; appSandbox?: boolean }): CodeSettings
  • Parameters

    • args: { allowFlashcall?: boolean; currentNumber?: boolean; allowAppHash?: boolean; allowMissedCall?: boolean; allowFirebase?: boolean; logoutTokens?: Buffer[]; token?: string; appSandbox?: boolean }
      • Optional allowFlashcall?: boolean
      • Optional currentNumber?: boolean
      • Optional allowAppHash?: boolean
      • Optional allowMissedCall?: boolean
      • Optional allowFirebase?: boolean
      • Optional logoutTokens?: Buffer[]
      • Optional token?: string
      • Optional appSandbox?: boolean

    Returns CodeSettings

Generated using TypeDoc