setTitle()
Note: This API is supported from version 6.5.1.
The setTitle() API customizes the title of the chat widget in the conversation page based on the brand or chat department's online/offline status.
Parameters:
- online (String) - The text to display when the status is online.
- offline (String) - The text to display when the status is offline.
Example
CopiedZohoSalesIQ.chat.setTitle("Chat with us now", "Leave us a message");