Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.38 KB

File metadata and controls

44 lines (34 loc) · 1.38 KB
title description ms.topic ms.date author ms.author
lcw:startChat | MicrosoftDocs
lcw startChat event (Omnichannel for Customer Service JavaScript API reference)
article
11/10/2021
gandhamm
mgandham

lcw:startChat event (Omnichannel for Customer Service JavaScript API reference)

[!INCLUDEcc-use-with-omnichannel]

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
});

See also

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

[!INCLUDEfooter-include]