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
public interface ChatStateChangedEvent extends ChatEvent
This interface represents all chat events causing a change of theChatState
.- Since:
- 12.29
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChatState
getChatState()
java.util.Optional<ChatState>
getPreviousChatState()
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.ChatProvider
getChat
-
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
-
-
-
Method Detail
-
getPreviousChatState
java.util.Optional<ChatState> getPreviousChatState()
- Returns:
- the
ChatState
of the chat before the state change, if available or an empty optional in case of an initial event e.g.ChatStartedEvent
- Since:
- 12.29
-
-