Bookmark a Feed Element

Call a method to bookmark a feed element.

Call updateFeedElementBookmarks(communityId, feedElementId, isBookmarkedByCurrentUser) to bookmark a feed element.

1ConnectApi.BookmarksCapability bookmark = ConnectApi.ChatterFeeds.updateFeedElementBookmarks(null, '0D5D0000000KuGh', true);

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!