Android SDK 3.0.27
14 days ago by Viktor Manev
Added sdk.profile().getUserComments() to retrieve comments posted by the current user across comment boards.
sdk.profile().getUserComments(
request = GetUserCommentsRequestOptions(
commentBoardId = "board-id",
ordering = UserCommentsSortingOptions.NEWEST
),
liveLikePagination = LiveLikePagination.FIRST
) { page, error ->
val comments = page?.results
}Optional parameters:
- commentBoardId: Limit results to one board.
- parentCommentId: Filter by parent comment.
- ordering: NEWEST (default) or OLDEST.
- topLevel: Filter by top-level status.
- withoutDeletedThread: Exclude deleted threads when true.
- liveLikePagination: FIRST (default), NEXT, or PREVIOUS.

