setTitle()
Note: This API is supported from version 8.1.0-beta01.
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.