Builder
Functions
Instantiates AmityCommunityFeedQuery with built params.
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.
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.
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.