Builder

class Builder

Functions

Link copied to clipboard

Instantiates AmityCommunityPostQuery 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 to filter matching reviewStatus.

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.

Link copied to clipboard

Specifies postTypes to filter matching dataType.