New and Changed Chatter in Apex Output Classes

These output classes are new or have changes.

Chatter Feeds

ConnectApi.MarkupBeginSegmentOutput
This output class has these new and changed properties.
  • altText—Alternative text for the segment, if available.
  • markupType—Now supports hyperlink markup.
  • url—URL for the segment, if available.
ConnectApi.MarkupEndSegmentOutput
This output class has this changed property.
  • markupType—Now supports hyperlink markup.

Communities

ConnectApi.Community
This output class has one new property.
  • memberVisibilityEnabled—Specifies whether community members can see other community members (true) or not (false).

Missions

ConnectApi.UserMissionActivitiesJob
This new output class has these properties.
  • jobToken—Token that identifies the mission user activities job.
  • jobType—Type of user activities job, either export or purge.
  • message—Message describing the status and expected outcome of the job.
ConnectApi.UserMissionActivity
This new output class has these properties.
  • activityCount—Number of mission activities of the specified type for the user.
  • activityType—Type of mission activity for a user.
ConnectApi.UserMissionActivityCollection
This new output class has these properties.
  • community—Community in which the user performed activities.
  • userId—ID of the user.
  • userMissionActivities—List of mission activities performed by the user.
  • userName—Name of the user.
ConnectApi.UserMissionActivityStatus
This new output class has these properties.
  • message—Success or error message.
  • status—Status of mission activity for a user.

Next Best Actions (Generally Available)

ConnectApi.NBANativeRecommendation
This output class was previously named ConnectApi.NBAPropositionRecommendation.
ConnectApi.NBARecommendation
These properties are removed from this output class.
  • actionReference
  • id
  • name
  • url
ConnectApi.NBARecommendations
This output class has one new property.
  • trace—Trace information for the recommendation strategy execution, if requested.
ConnectApi.Recommendation
This output class was previously named ConnectApi.Proposition.
ConnectApi.RecommendationReaction
This output class was previously named ConnectApi.NBAReaction. It has one new property.
  • url—URL to the recommendation reaction.
ConnectApi.RecommendationReactions
This new output class has these properties.
  • currentPageUrl—URL to the current page of reactions in the collection.
  • nextPageUrl—URL to the next page of reactions in the collection.
  • reactions—Collection of recommendation reactions.
ConnectApi.StrategyTrace
This new output class has these properties.
  • messages—Messages and errors from the strategy execution.
  • nodes—Nodes of the strategy execution used for debugging.
ConnectApi.StrategyTraceNode
This new output class has these properties.
  • inputCount—Number of items put into the node.
  • messages—Messages that occurred during node execution.
  • nodeName—Name of the node.
  • nodeTime—Time spent processing inside the node.
  • nodeType—Type of node.
  • outputCount—Number of items returned from the node.
  • outputs—Recommendations that are returned from the node.
  • totalTime—Total time spent processing.

Social Engagement

ConnectApi.ApprovalIntent
This new output class has this property.
  • isRecallable—Specifies whether the social post can be recalled (true) or not (false).
ConnectApi.DeleteIntent
This new output class has this property.
  • managedSocialAccount—Managed social account that deletes the social post.
ConnectApi.DeleteIntents
This new output class has this property.
  • deletes—List of delete intents for the social post.
ConnectApi.FollowIntents
This new output class has this property.
  • follows—List of follow intents for the social persona.
ConnectApi.FollowSocialPersonaIntent
This new output class has these properties.
  • managedSocialAccount—Managed social account that follows the social persona.
  • socialPersonaId—ID of the social persona to follow.
ConnectApi.HideSocialPostIntent
This new output class has these properties.
  • isHidden—Specifies whether the managed social account hid the social post (true) or not (false).
  • managedSocialAccount—Managed social account that hides the social post.
ConnectApi.LikeIntent
This new output class has these properties.
  • isLiked—Specifies whether the managed social account liked the social post (true) or not (false).
  • managedSocialAccount—Managed social account that likes the social post.
ConnectApi.LikeIntents
This new output class has this property.
  • likes—List of like intents for the social post.
ConnectApi.ReplyIntent
This new output class has this property.
  • managedSocialAccount—Managed social account that replies to the social post.
ConnectApi.ReplyIntents
This new output class has this property.
  • replies—List of reply intents for the social post.
ConnectApi.SocialPostIntents
This new output class has these properties.
  • approvalIntent—Approval intent for the social post.
  • deleteIntent—Delete intents for the social post.
  • followIntent—Follow intents for the social persona.
  • hideIntent—Hide intent for the social post.
  • likeIntent—Like intents for the social post.
  • replyIntent—Reply intents for the social post.

Users

ConnectApi.UserGroupDetailPage
This new output class has these properties.
  • currentPageUrl—URL to the current page.
  • groups—Collection of groups that the user is a member of.
  • nextPageUrl—URL to the next page, or null if there is no next page.
  • previousPageUrl—URL to the previous page, or null if there is no previous page.
  • total—Total number of groups that the user is a member of.