Subclass of ConnectApi.FeedElement Class as of 31.0.
Name | Type | Description | Available Version |
---|---|---|---|
actor | ConnectApi.Actor | The entity that created the feed item. | 28.0 |
attachment | ConnectApi.FeedItemAttachment | Information about the attachment. If there is no attachment, returns null. | 28.0–31.0 |
canShare | Boolean | true if the feed item can be shared, otherwise, false | 28.0 |
clientInfo | ConnectApi.ClientInfo | Information about the connected app used to authenticate the connection. | 28.0 |
comments | ConnectApi.CommentPage | First page of comments for this feed item. | 28.0–31.0 |
event | Boolean | true if feed item is created due to an event change, false otherwise | 22.0 |
isBookmarkedByCurrentUser | Boolean | true if the current user has bookmarked this feed item, otherwise, false. | 28.0–31.0 |
isDeleteRestricted | Boolean | If this property is true the comment cannot be deleted by the context user. If it is false, it might be possible for the context user to delete the comment, but it is not guaranteed. | 28.0 |
isLikedByCurrentUser | Boolean | true if the current user has liked this feed item, otherwise, false | 28.0–31.0 |
likes | ConnectApi.ChatterLikePage | First page of likes for this feed item. | 28.0–31.0 |
likesMessage | ConnectApi.MessageBody | A message body the describes who likes the feed item. | 28.0–31.0 |
moderationFlags | ConnectApi.ModerationFlags | Information about the moderation flags on a feed item. If ConnectApi.Features.communityModeration is false, this property is null. | 29.0–30.0 |
myLike | ConnectApi.Reference | If the context user has liked the feed item, this property is a reference to the specific like, otherwise, null. | 28.0–31.0 |
originalFeedItem | ConnectApi.Reference | A reference to the original feed item if this feed item is a shared feed item, otherwise, null. | 28.0 |
originalFeedItemActor | ConnectApi.Actor | If this feed item is a shared feed item, returns information about the original poster of the feed item, otherwise, returns null. | 28.0 |
photoUrl | String | URL of the photo associated with the feed item | 28.0 |
preamble | ConnectApi.MessageBody | A collection of message segments, including the unformatted text of the message that you can use as the title of a feed item. Message segments include name, link, and motif icon information for the actor that created the feed item. | 28.0-30.0 |
topics | ConnectApi.FeedItemTopicPage | Topics for this feed item. | 28.0–31.0 |
type | ConnectApi.FeedItemType |
Specifies the type of feed item, such as a
content post or a text post.
One of these
values:
|
28.0 |
visibility | ConnectApi.FeedItemVisibilityType |
Specifies the type of users who can see a
feed item.
|
28.0 |