Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Whatsapp

Hierarchy

Index

Constructors

constructor

Properties

autoCloseInterval

autoCloseInterval: any

autoCloseRemain

autoCloseRemain: number = 0

browser

browser: Browser

ev

ev: any

options

options: CreateOptions

page

page: Page

scanPhoneNumbersActive

scanPhoneNumbersActive: boolean = false

scanQrCodeActive

scanQrCodeActive: boolean = false

startScanQrcode

startScanQrcode: boolean

Methods

asciiQr

  • asciiQr(code: string): Promise<string>

cancelAutoClose

  • cancelAutoClose(): void

checkInputVisiblePhoneNumber

  • checkInputVisiblePhoneNumber(): Promise<boolean>

decryptFile

  • decryptFile(message: any): Promise<Buffer>
  • Decrypts message file

    Parameters

    • message: any

      Message object

    Returns Promise<Buffer>

    Decrypted file buffer (null otherwise)

getPairingType

  • getPairingType(): Promise<string>

handleApiCallPage

handleApiCallParametres

  • handleApiCallParametres<K>(functionName: K, ...args: FunctionParameters[K]): Promise<any>

interfaceChange

  • interfaceChange(): void

newDeleteMessage

  • newDeleteMessage(): void

newEditMessage

  • newEditMessage(): void

newMessage

  • newMessage(): void

newOnAck

  • newOnAck(): void

onIntroReactionMessage

  • onIntroReactionMessage(): void

onReactionMessage

  • onReactionMessage(): void

qrCode

  • qrCode(): Promise<undefined | { base64Image: string; urlCode: null | string }>

qrCodeScan

  • qrCodeScan(): Promise<void>

scanPhoneNumbers

  • scanPhoneNumbers(): Promise<void>

withPhoneNumber

  • withPhoneNumber(): Promise<boolean>

Generated using TypeDoc