SFDC 001
SFDC 001
photoUrl String URL of the photo associated with the feed item
preamble ConnectApi. A collection of message segments, including the unformatted text
MessageBody Class 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.
type ConnectApi. Specifies the type of feed item, such as a content post, a text post,
FeedItemType Enum and so on.
• ActivityEvent—Feed item generated when CaseFeed is
on and an event or task associated with a parent record with a
feed enabled is created or updated.
• ApprovalPost—Feed item with an approval action
attachment. Approvers can act on the feed item parent.
• AttachArticleEvent—Feed item generated when an article
is attached to a case in Case Feed.
• BasicTemplateFeedItem—Feed item with a standard
rendering containing an attachment with an image, link, and
title.
• CallLogPost—Feed item generated when a call log is saved
to a case in Case Feed.
• CaseCommentPost—Feed item generated when a case
comment is saved in Case Feed.
• ChangeStatusPost—Feed item generated when the status
of a case is changed in Case Feed.
• ChatTranscriptionPost—Feed item generated in a Case
Feed when a Live Agent chat transcript is saved to a case.
• CollaborationGroupCreated—Feed item generated when
a new group is created. Contains a link to the new group.
• CollaborationGroupUnarchived—Feed item generated
when an archived group is unarchived.
• ContentPost—Feed item with a file attachment.
• CreateRecordEvent—Feed item that describes a record
created in the publisher.
• DashboardComponentAlert—Feed item with a dashboard
alert attachment.
• DashboardComponentSnapshot—Feed item with a
dashboard snapshot attachment.
• EmailMessageEvent—Feed item generated when an email
is sent from a case in the Case Feed.
• FacebookPost—Feed item generated when an Facebook
post is created from a case in the Case Feed.
592
Reference Apex Classes
ConnectApi.FeedItemAttachment Class
Child classes:
• ConnectApi.ApprovalAttachment Class
• ConnectApi.BasicTemplateAttachment Class
• ConnectApi.CaseComment Class
• ConnectApi.ContentAttachment Class
• ConnectApi.DashboardComponentAttachment Class
• ConnectApi.FeedPoll Class
• ConnectApi.LinkAttachment Class
No additional properties. All instances of this class are actually one of the child classes.
This is an abstract class.
Message segments in a feed item are typed as ConnectApi.MessageSegment. Feed item attachments are typed as
ConnectApi.FeedItemAttachment. These classes are both abstract and have several concrete subclasses. At runtime you
can use instanceof to check the concrete types of these objects and then safely proceed with the corresponding downcast.
When you downcast, you must have a default case that handles unknown subclasses.
Important: The composition of a feed may change between releases. Your code should always be prepared to handle
unknown subclasses in both ConnectApi.MessageSegment and ConnectApi.FeedItemAttachment objects.
593
Reference Apex Classes
ConnectApi.FeedItemPage Class
ConnectApi.FeedModifiedInfo Class
ConnectApi.FeedPoll Class
Child class of ConnectApi.FeedItemAttachment Class.
This object is returned as the attachment of FeedItems with type PollPost.
594
Reference Apex Classes
ConnectApi.FeedPollChoice Class
ConnectApi.FieldChangeSegment Class
Child class of ConnectApi.ComplexSegment Class
No additional properties.
ConnectApi.FieldChangeNameSegment Class
Child class of ConnectApi.MessageSegment Class
No additional properties.
ConnectApi.FieldChangeValueSegment Class
Child class of ConnectApi.MessageSegment Class
ConnectApi.FileSummary Class
Child class of ConnectApi.ActorWithId Class
595
Reference Apex Classes
pdfRenditionStatus String Specifies if a PDF preview version of the file has been rendered
renditionUrl String URL to the rendition for the file
thumb120By90RenditionStatus String Specifies if a 120x90–pixel–sized preview image of the file has
been rendered
thumb240By180RenditionStatus String Specifies if a 240x180–pixel–sized preview image of the file has
been rendered
thumb720By480RenditionStatus String Specifies if a 720x480–pixel–sized preview image of the file has
been rendered
title String Title of the file
versionNumber String File’s version number
ConnectApi.FollowerPage Class
nextPageUrl String Chatter REST API URL identifying the next page
previousPageUrl String Chatter REST API URL identifying the previous page
total Integer Total number of followers across all pages
596