Newer Version Available

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

Post a Comment with a New File

To post a comment and upload and attach a new file to the comment, create a ConnectApi.CommentInput object and a ConnectApi.BinaryInput object to pass to the postCommentToFeedElement(communityId, feedElementId, comment, feedElementFileUpload)method.