Builder

class Builder

Functions

Link copied to clipboard

Instantiates AmityUserPostQuery with built params.

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 sortOption param. When sortOption is AmityUserFeedSortOption.FIRST_CREATED, posts will be sorted by createdAt property ASC. When sortOption is AmityUserFeedSortOption.LAST_CREATED, posts will be sorted by createdAt property DESC. The default value of sortOption is AmityUserFeedSortOption.LAST_CREATED.

Link copied to clipboard

Specifies postTypes to filter matching dataType.