endContact
Terminates an active chat.
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
chat_id | yes | string | Unique Chat identifier |
isFromContactEnded | yes | boolean | Set to true if the function is called in “contactEnded” event callback, otherwise set to false. |
Example:
LIVECHAT.endContact("CHAT_88591266-9258-4416-82f9-0eb23439fa1e", false);