Interface ChatRequeuedEvent
-
- All Superinterfaces:
ChatEvent
,ChatProvider
,ChatQueuedEvent
,ChatStateChangedEvent
,Event
- All Known Subinterfaces:
AgentChatRequeuedEvent
,BotChatRequeuedEvent
public interface ChatRequeuedEvent extends ChatQueuedEvent
This event is triggered when a chat has been queued again after being assigned to an agent or bot.
- Since:
- 12.29
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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.routing.event.ChatQueuedEvent
getChatState
-
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
-
-
-
Method Detail
-
getPreviousChatState
default java.util.Optional<ChatState> 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
-
-