venom-bot
Version:
Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design archite
35 lines (34 loc) • 865 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.
*/
WITHOUT_INTERNET = "WITHOUT INTERNET"
}