getCommentReports

abstract fun getCommentReports(getCommentReportsRequestOptions: GetCommentReportsRequestOptions, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<CommentReport>>)

Retrieves comment reports for one comment or multiple comments.

Provide GetCommentReportsRequestOptions.commentId or GetCommentReportsRequestOptions.commentIds. When using a returned report to offer an unreport action, match its commentId to the comment and verify its reportedById is the authenticated profile ID. Comment.isReported does not identify the report owner.

Parameters

getCommentReportsRequestOptions

Filters used to retrieve comment reports.

liveLikePagination

Pagination parameters to control the result set.

liveLikeCallback

A callback to handle the result of retrieving the list of comment reports.