setTitle()
Note: This API is supported from version 10.0.0.
The setTitle() API allows you to customize the title of the chat window and traditional form page in your application. This title can be dynamically adjusted based on the online or offline status of the selected brand or department, helping provide better context to the visitor.
Parameter:
- online (String?): The title text to display when the chat department or brand is online.
- offline (String?): The title text to display when the chat department or brand is offline.
Example
Copied