Open/Close Chat Widget
Updated
sprChat('open')
This will open up the chat box. It shows the home page or the last page that the user was on before minimizing.
window.sprChat('open') |
sprChat('close')
This will close the chat box. If your application is configured to show the trigger, it will still be visible.
window.sprChat('close') |
sprChat('open') - Direct users to the Knowledge Base list in the Live Chat view page with a custom button click
When users click the designated button or hyperlink, calling the Sprinklr Live Chat SDK below will seamlessly open the chat box, presenting users with the Knowledge Base list view page.
window.sprChat('open', { landingScreen: "KNOWLEDGE_BASE_LIST" }) |
Mobile | Webview | Native | React Native |
Yes | No | No |