java.lang.Object
com.intercom.api.resources.messages.types.Message

public final class Message extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      The type of the message
    • getId

      public String getId()
      Returns:
      The id representing the message.
    • getCreatedAt

      public int getCreatedAt()
      Returns:
      The time the conversation was created.
    • getSubject

      public String getSubject()
      Returns:
      The subject of the message. Only present if message_type: email.
    • getBody

      public String getBody()
      Returns:
      The message body, which may contain HTML.
    • getMessageType

      public Message.MessageType getMessageType()
      Returns:
      The type of message that was sent. Can be email, inapp, facebook or twitter.
    • getConversationId

      public String getConversationId()
      Returns:
      The associated conversation_id
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static Message.TypeStage builder()