...
Checks if the loader is currently displayed, which indicates that the server is currently processing the user’s request.
removeEmbedIcon()
Removes the embedded chat icon in the corner of the screen. You can use this method when navigating away from a screen in a single page application.
destroy()
Destroys the chat user interface and cleans up resources.