lcw:closeChat event (Omnichannel for Customer Service JavaScript API reference)
Omnichannel for Customer Service offers a suite of capabilities that extend the power of Dynamics 365 Customer Service Enterprise to enable organizations to instantly connect and engage with their customers across digital messaging channels. An additional license is required to access Omnichannel for Customer Service. For more information, see the Dynamics 365 Customer Service pricing overview and Dynamics 365 Customer Service pricing plan pages.
This event is triggered when a chat is closed.
Example
window.addEventListener("lcw:closeChat", function handleLivechatClosedEvent(){
// Handle the live chat closed event
});
See also
lcw:ready
lcw:error
lcw:startChat
lcw:chatRetrieved
lcw:chatQueued
lcw:onClose
lcw:onMinimize
lcw:onMaximize
lcw:onMessageReceived
lcw:onMessageSent
lcw:threadUpdate
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for