New and Changed Chatter in Apex Enums

For information about these enums, see ConnectApi Enums in Apex Developer Guide.

ConnectApi.ArticleTopicJobType
This new enum has these values.
  • AssignTopicsToArticle—Assign topics to articles in a data category.
  • UnassignTopicsFromArticle—Unassign topics from articles in a data category.
ConnectApi.CommunityFlagReasonType
This new enum has these values.
  • FlaggedByRule—Moderation rule flagged the item.
  • FlaggedBySystem—Einstein flagged the item.
  • FlaggedByUserAsInappropriate—User flagged the item as inappropriate.
  • FlaggedByUserAsSpam—User flagged the item as spam.
ConnectApi.ContentHubAuthenticationProtocol
This new enum has these values.
  • NoAuthentication—Repository doesn’t require authentication.
  • Oauth—Repository uses OAuth authentication protocol.
  • Password—Repository uses user name and password authentication protocol.
ConnectApi.ExtensionInformationType (Pilot)
This new enum has this value.
  • Lightning
ConnectApi.FeedElementCapabilityType
This enum has these new values.
  • Extensions—The feed element has one or more Chatter extension attachments.
  • ReadBy—The context user can mark the feed element as read.
ConnectApi.FeedFilter
This enum has these new values.
  • AuthoredBy—Feed elements authored by the user profile owner. This value is valid only for the UserProfile feed.
  • Read—Feed elements that are older than 30 days or are marked as read for the context user. Includes existing feed elements when the context user joined the group. This value is valid only for the Record feed of a group.
  • Unread—Feed elements that are created in the past 30 days and aren’t marked as read for the context user. This value is valid only for the Record feed of a group.
ConnectApi.FeedSortOrder
This enum has one new value.
  • CreatedDateAsc—Sorts by oldest creation date. This sort order is available only for DirectMessageModeration, Moderation, and PendingReview feeds.
ConnectApi.FeedType
This enum has these new values.
  • DirectMessageModeration—Contains all direct messages that are flagged for moderation. The Direct Message Moderation feed is available only to users with Moderate Communities Chatter Messages permissions.
    Note

    Note

    The Moderation feed type contains all feed items except direct messages that are flagged for moderation. The Communities Moderation feed is available only to users with Moderate Community Feeds permissions.

  • Landing—Contains all feed items that best drive user engagement when the feed is requested. Allows clients to avoid an empty feed when there aren’t many personalized feed items.
ConnectApi.SortOrder
This enum has one new value.
  • MostRecentlyViewed—Items are in descending chronological order by view. This sort order is valid only for Chatter feed streams.