Builder

class Builder

Functions

Link copied to clipboard

Instantiates AmityCommunityFeedQuery with built params.

Link copied to clipboard
Link copied to clipboard

Specifies includeDeleted param. When includeDeleted is true, the result will include soft-deleted posts. When includeDeleted is false, the result will exclude soft-deleted posts. The default value of includeDeleted is true.

Link copied to clipboard

Specifies reviewStatus param. When reviewStatus is AmityReviewStatus.PUBLISHED, the results will contain only posts with AmityReviewStatus.PUBLISHED reviewStatus. When reviewStatus is AmityReviewStatus.UNDER_REVIEW, the results will contain only posts with AmityReviewStatus.UNDER_REVIEW reviewStatus. When reviewStatus is AmityReviewStatus.DECLINED, the results will contain only posts with AmityReviewStatus.DECLINED reviewStatus. The default value of reviewStatus is AmityReviewStatus.PUBLISHED.

Link copied to clipboard

Specifies sortOption param. When sortOption is AmityCommunityFeedSortOption.FIRST_CREATED, posts will be sorted by createdAt property ASC. When sortOption is AmityCommunityFeedSortOption.LAST_CREATED, posts will be sorted by createdAt property DESC. The default value of sortOption is AmityCommunityFeedSortOption.LAST_CREATED.