.completeChatActionWithMessage()
This API lets you mark a chat action that is in progress as completed. This API takes action's unique ID as a parameter and an action completion message which is shown in chat after completion.
Note:
This API must be called to mark an action as completed before the set timeout period. If it is not called within the timeout period, the action will be considered as timed out.
Example
CopiedZohoSalesIQ.completeChatActionWithMessage("1001", true,"Ticket Booked");