다음을 통해 공유


lcw:threadUpdate 이벤트(Customer Service JavaScript용 옴니채널 API 참조)

Customer Service용 옴니채널은 Dynamics 365 Customer Service Enterprise의 기능을 확장하는 기능 모음을 제공하여 조직이 디지털 메시징 채널을 통해 고객과 즉시 연결하고 참여할 수 있도록 합니다. Customer Service용 옴니채널에 액세스하려면 추가 라이선스가 필요합니다. 자세한 내용은 Dynamics 365 Customer Service 가격 책정 개요Dynamics 365 Customer Service 요금제 페이지를 참조하십시오.

실시간 채팅은 상담원이 대화를 종료할 때 이 이벤트를 트리거합니다.

이벤트를 수신하고 lcw:threadUpdatecloseChat 메서드를 호출하여 클라이언트 측에서 대화를 종료합니다. window 개체에 고유한 이벤트 수신기를 추가하여 이 이벤트를 수신할 수 있습니다.

Example

window.addEventListener("lcw:threadUpdate", function handleLivechatThreadUpdateEvent(){
        // Handle the live chat threadUpdate event, for example:
        // End the conversation using the closeChat method
        Microsoft.Omnichannel.LiveChatWidget.SDK.closeChat();
});

lcw:준비
lcw:오류
lcw:채팅검색됨
lcw:채팅 대기
lcw:닫기
lcw:close채팅
lcw:준비
lcw:onMinimize
lcw:on최대화
lcw:onMessageReceived
lcw:onMessageSent
lcw:시작채팅
라이브 채팅 SDK JavaScript API 참조