@wppconnect-team/wppconnect
Version:
WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligen
35 lines (34 loc) • 847 B
TypeScript
export declare enum InterfaceState {
/**
* When there are no internet.
*/
OFFLINE = "OFFLINE",
/**
* When the whatsapp web page is loading.
*/
OPENING = "OPENING",
/**
* When the whatsapp web is connecting to smartphone after QR code scan.
*/
PAIRING = "PAIRING",
/**
* When the whatsapp web is syncing messages with smartphone.
*/
SYNCING = "SYNCING",
/**
* When the whatsapp web is syncing messages with smartphone after a disconnection.
*/
RESUMING = "RESUMING",
/**
* When the whatsapp web is connecting to whatsapp server.
*/
CONNECTING = "CONNECTING",
/**
* When the whatsapp web is ready.
*/
NORMAL = "NORMAL",
/**
* When the whatsapp web couldn't connect to smartphone.
*/
TIMEOUT = "TIMEOUT"
}