ערוך

שתף באמצעות


lcw:startChat 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 started.

Lcw:startChat is raised when the related startChat() SDK method is called.

When a customer starts a chat, a call is made to the startChat() SDK method. This event is then raised when the startChat() SDK method is called.

Example

window.addEventListener("lcw:startChat", function handleLivechatStartedEvent(){
    // Handle the live chat started event
});

lcw:ready
lcw:error
lcw:chatRetrieved
lcw:chatQueued
lcw:onClose
lcw:closeChat
lcw:ready
lcw:onMinimize
lcw:onMaximize
lcw:onMessageReceived
lcw:onMessageSent
lcw:threadUpdate
Live chat SDK JavaScript API reference