Interface ChatStateChangedEvent
- All Superinterfaces:
ChatEvent,ChatProvider,Event
- All Known Subinterfaces:
AgentChatClosedEvent,AgentChatQuitEvent,AgentChatRequeuedEvent,AgentChatResubmittedEvent,AgentChatRoutedEvent,BotChatClosedEvent,BotChatRequeuedEvent,BotChatRoutedEvent,ChatClosedEvent,ChatEnqueuedEvent,ChatQueuedEvent,ChatQuitEvent,ChatRequeuedEvent,ChatResubmittedEvent,ChatRoutedEvent,ChatStartedEvent,CustomerChatQuitEvent,SupervisorChatClosedEvent,SystemChatClosedEvent
This interface represents all chat events causing a change of the
ChatState.- Since:
- 12.29
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface com.novomind.ecom.api.iagent.provider.ChatProvider
getChatMethods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
Method Details
-
getPreviousChatState
- Returns:
- the
ChatStateof the chat before the state change, if available or an empty optional in case of an initial event e.g.ChatStartedEvent - Since:
- 12.29
-
getChatState
ChatState getChatState()- Returns:
- the new
ChatStateof the chat after the state change - Since:
- 12.29
-