New and Changed Chatter in Apex Input Classes

Chatter Feeds

ConnectApi.AlternativeInput (Pilot)
This new input class has these properties.
  • textRepresentation—Text representation of the extension.
  • thumbnailUrl—Thumbnail URL for the extension.
  • title—Title of the extension.
ConnectApi.DirectMessageCapabilityInput
This input class has one new property.
  • membersToRemove—List of user IDs for members to remove from the direct message.
ConnectApi.ExtensionInput (Pilot)
This new input class has these properties.
  • alternativeRepresentation—Alternative representation of the extension.
  • extensionId—ID of the extension.
  • payload—Payload associated with the extension.
  • payloadVersion—Payload version that identifies the structure of the payload associated with the extension.
ConnectApi.ExtensionsCapabilityInput (Pilot)
This new input class is a subclass of ConnectApi.FeedElementCapabilityInput. It has one property.
  • itemsToAdd—List of extensions to associate with the feed element.
ConnectApi.FeedElementCapabilitiesInput
This input class has one new property.
  • extensions—Describes the extensions associated with the feed element.
ConnectApi.ReadByCapabilityInput
This new input class is a subclass of ConnectApi.FeedElementCapabilityInput. It has these properties.
  • isReadByMe—Specifies to mark the feed element as read (true) for the context user.
  • lastReadDateByMe—Specifies the last date when the feed element is marked as read for the context user. If you don’t specify a date or you specify a future date, the current system date is used.

Topics

ConnectApi.ArticleTopicAssignmentJobInput
This new input class has these properties.
  • operation—Specifies the type of operation to perform on articles and topics. Values are:
    • AssignTopicsToArticle—Assign topics to articles in a data category.
    • UnassignTopicsFromArticle—Unassign topics from articles in a data category.
  • topicNames—List of topic names to assign to or unassign from articles.