Interface ChatRoutedEvent
- All Superinterfaces:
ChatEvent
,ChatProvider
,ChatStateChangedEvent
,Event
- All Known Subinterfaces:
AgentChatRoutedEvent
,BotChatRoutedEvent
This event is triggered when a chat has been routed.
- Since:
- 12.29
-
Method Summary
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 Details
-
getPreviousChatState
- Specified by:
getPreviousChatState
in interfaceChatStateChangedEvent
- 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
-
getChatState
- Specified by:
getChatState
in interfaceChatStateChangedEvent
- Returns:
- the new
ChatState
of the chat after the state change
-