Package com.intercom.api.types
Class ConversationSource
java.lang.Object
com.intercom.api.types.ConversationSource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic final classstatic interface -
Method Summary
-
Method Details
-
getType
- Returns:
- This includes conversation, email, facebook, instagram, phone_call, phone_switch, push, sms, twitter and whatsapp.
-
getId
- Returns:
- The id representing the message.
-
getDeliveredAs
- Returns:
- The conversation's initiation type. Possible values are customer_initiated, campaigns_initiated (legacy campaigns), operator_initiated (Custom bot), automated (Series and other outbounds with dynamic audience message) and admin_initiated (fixed audience message, ticket initiated by an admin, group email).
-
getSubject
- Returns:
- Optional. The message subject. For Twitter, this will show a generic message regarding why the subject is obscured.
-
getBody
- Returns:
- The message body, which may contain HTML. For Twitter, this will show a generic message regarding why the body is obscured.
-
getAuthor
-
getAttachments
- Returns:
- A list of attachments for the part.
-
getUrl
- Returns:
- The URL where the conversation was started. For Twitter, Email, and Bots, this will be blank.
-
getRedacted
public boolean getRedacted()- Returns:
- Whether or not the source message has been redacted. Only applicable for contact initiated messages.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-