Connection Status
StatusFind callback
Get connection feedback by following the codes:
Status | Conditions |
---|---|
isLogged | When the customer already has a valid token and will not need to read the qrcode again |
notLogged | When the customer does not have a valid token and needs to scan the QR code again |
isDisconnected | The client disconnected or was disconnected |
isLogout | The customer has disconnected and removed the token from the device |
isConnected | The client has successfully connected the list |
serverDisconnected | Disconnected from Whatsapp socket server |
isReconnected | Notifies you that you have reconnected back to a connection |
qrTimeOut | when all attempts to read the qrcode expire attempts |
pairingTimeOut | when all attempts to read the pairing expireattempts |