Returns an object that indicates if a whatsapp customer session is still active.
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
customer_phone | YES | STRING | Customer phone number |
service_phone | YES | STRING | Unique service identifier |
Returns:
Type | Description |
---|---|
JS Promise |
|
Example:
LIVECHAT.isCustomerWhatsappSessionActive("393401234567","447491163403") .then(function(data){ console.log(data); }); /* Example of data { "result": true, "isCustomerWhatsappSessionActive": true, "error": null } */