Interface ConversationMessage


public interface ConversationMessage
Message originating from a Conversation
  • Method Details

    • getBody

    • getAcceptTime

      Instant getAcceptTime()
      The time Conversation API processed the message.
      Returns:
      acceptTime
    • getChannelIdentity

      ChannelIdentity getChannelIdentity()
      Get channelIdentity
      Returns:
      channelIdentity
    • getContactId

      String getContactId()
      The ID of the contact.
      Returns:
      contactId
    • getConversationId

      String getConversationId()
      The ID of the conversation.
      Returns:
      conversationId
    • getDirection

      ConversationDirection getDirection()
      Get direction
      Returns:
      direction
    • getId

      String getId()
      The ID of the message.
      Returns:
      id
    • getMetadata

      String getMetadata()
      Optional. Metadata associated with the contact. Up to 1024 characters long.
      Returns:
      metadata
    • getInjected

      Boolean getInjected()
      Flag for whether this message was injected.
      Returns:
      injected
    • getSenderId

      String getSenderId()
      For Contact Messages the sender ID is the contact sent the message to. For App Messages the sender that was used to send the message, if applicable.
      Returns:
      senderId
    • getProcessingMode

      ProcessingMode getProcessingMode()
      Get processingMode
      Returns:
      processingMode
    • builder

      static ConversationMessage.Builder builder()
      Getting builder
      Returns:
      New Builder instance