startChatInThisWindow(options)
Description
Use this method in a separate window ("popup" mode) to render a chat widget that occupies the whole page. Normally, if you use default provided chatWidget.html, you never have to use this method.
Returned promise
This method returns a promise similar to the one returned by startChat.
Options
Most of the options are extracted from the URL, which is formed by the startChat method, if called to create a chat in "popup" mode. However, some options cannot be passed in the URL but must be passed directly. These include:
- ui — Use to pass an object with "hooks" to customize the built-in UI.
- registration — Use to pass a function with custom registration workflow.
- transport — Use in case you provide a custom transport.
- logger
This page was last edited on March 10, 2020, at 13:57.
Comments or questions about this documentation? Contact us for support!