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
    • Method Detail

      • getTimestamp

        java.util.Date getTimestamp()
        Returns:
        the date when this chat step was created
        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 a CustomerChatSession or it is empty if the chat step was triggered by the system.
        Since:
        11.21