Newer Version Available

This content describes an older version of this product. View Latest

Post a Comment

Call a method to post a comment.
Call postCommentToFeedElement(communityId, feedElementId, text) to post a plain text comment to a feed element.
1ConnectApi.Comment comment = ConnectApi.ChatterFeeds.postCommentToFeedElement(null, '0D5D0000000KuGh', 'I agree with the proposal.' );