Builder

class Builder

Functions

Link copied to clipboard

Instantiates AmityCommunityCategoryQuery with built params.

Link copied to clipboard

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

Link copied to clipboard

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