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 the ChatState.
Since:
12.29
  • Method Details

    • getPreviousChatState

      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
    • getChatState

      ChatState getChatState()
      Returns:
      the new ChatState of the chat after the state change
      Since:
      12.29