Interface ChatStep
-
- All Superinterfaces:
java.lang.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 Classes Modifier and Type Interface Description static class
ChatStep.ChatStepOrigin
This enumeration describes the origin of a chat step.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ChatSession>
getChatSession()
java.lang.String
getHtml()
ChatStep.ChatStepOrigin
getOrigin()
java.lang.String
getText()
java.util.Date
getTimestamp()
-
-
-
Method Detail
-
getTimestamp
java.util.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
java.lang.String getText()
- Returns:
- the content of this chat step in text representation
- Since:
- 11.3
-
getHtml
java.lang.String getHtml()
- Returns:
- the content of this chat step in html representation
- Since:
- 11.3
-
getChatSession
java.util.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
-
-