Interface BotChatClosedEvent
- All Superinterfaces:
ChatBotProvider,ChatClosedEvent,ChatEvent,ChatProvider,ChatStateChangedEvent,Event
This event is triggered when a chat has been closed by a bot.
- Since:
- 12.29
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the optionalTransactionCodethat has been applied during the chat close operation.Methods inherited from interface com.novomind.ecom.api.iagent.provider.ChatBotProvider
getChatBotMethods inherited from interface com.novomind.ecom.api.iagent.routing.event.ChatClosedEvent
getChatStateMethods 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
-
getTransactionCode
Optional<TransactionCode> getTransactionCode()This method returns the optionalTransactionCodethat has been applied during the chat close operation.- Returns:
- the optional
TransactionCodeof the ticket. - Since:
- 12.29
-
getPreviousChatState
- Specified by:
getPreviousChatStatein interfaceChatStateChangedEvent- Returns:
- the
ChatStateof the chat before the state change, if available or an empty optional in case of an initial event e.g.ChatStartedEvent
-