Chat.endChat()
This API can be used to end a support chat that is currently in an open state. The chatID of the chat which is to be closed must be passed as a function parameter.
The chatID for a chat can be obtained from other APIs, including the ZohoSalesIQ.Chat.getList() API.
Parameters:
Name | Description |
chatID | Unique ID of the chat |
Syntax:
CopiedZohoSalesIQ.Chat.endChat(String chatID);
Example:
CopiedZohoSalesIQ.Chat.endChat("1001");