Interface ChatStep
- All Superinterfaces:
Comparable<com.novomind.ecom.common.api.persistence.Entity>
,com.novomind.ecom.common.api.persistence.Entity
- All Known Subinterfaces:
IncomingChatStep
,OutgoingChatStep
public interface ChatStep
extends com.novomind.ecom.common.api.persistence.Entity
ChatStep represents an event in the chat history.
- Since:
- 11.3
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
This enumeration describes the origin of a chat step. -
Method Summary
Methods inherited from interface com.novomind.ecom.common.api.persistence.Entity
compareTo, getId, isDeleted, isNotDeleted
-
Method Details
-
getTimestamp
Date getTimestamp()- Returns:
- the date when this chat step was created
- Since:
- 11.3
-
getOrigin
ChatStep.ChatStepOrigin getOrigin()- Returns:
- the origin of this chat step
- Since:
- 11.3
-
getText
String getText()- Returns:
- the content of this chat step in text representation
- Since:
- 11.3
-
getHtml
String getHtml()- Returns:
- the content of this chat step in html representation
- Since:
- 11.3
-
getChatSession
Optional<ChatSession> getChatSession()- Returns:
- the chat session of this chat step. The optional contains either an
AgentChatSession
or aCustomerChatSession
or aBotChatSession
or it is empty if the chat step was triggered by the system. - Since:
- 11.21
-