Package com.intercom.api.types
Class NewsItemRequest
java.lang.Object
com.intercom.api.types.NewsItemRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic final classstatic interface -
Method Summary
-
Method Details
-
getTitle
- Returns:
- The title of the news item.
-
getBody
- Returns:
- The news item body, which may contain HTML.
-
getSenderId
public int getSenderId()- Returns:
- The id of the sender of the news item. Must be a teammate on the workspace.
-
getState
- Returns:
- News items will not be visible to your users in the assigned newsfeeds until they are set live.
-
getDeliverSilently
- Returns:
- When set to
true, the news item will appear in the messenger newsfeed without showing a notification badge.
-
getLabels
- Returns:
- Label names displayed to users to categorize the news item.
-
getReactions
- Returns:
- Ordered list of emoji reactions to the news item. When empty, reactions are disabled.
-
getNewsfeedAssignments
- Returns:
- A list of newsfeed_assignments to assign to the specified newsfeed.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-