SearchJoinedGroupsQueryParams

Pagination query parameters for searching joined groups.

Used by ai.nexconn.chat.channel.GroupChannel.createSearchJoinedGroupsQuery to create a pagination query object.

Usage example:

val params = SearchJoinedGroupsQueryParams(groupName = "Tech Discussion")
val query = GroupChannel.createSearchJoinedGroupsQuery(params)
query.loadNextPage { list, error -> ... }

Parameters

groupName

group name search keyword, must not be null or empty, max length 64 characters

Constructors

Properties

Link copied to clipboard
private final String groupName
Link copied to clipboard
private Boolean isAscending

Whether to sort in ascending order. true: ascending; false: descending (default)

Link copied to clipboard
private Integer pageSize

Number of items per page. Defaults to 20, maximum 200

Functions

Link copied to clipboard
public final String getGroupName()
Link copied to clipboard
public final Integer getPageSize()

Number of items per page. Defaults to 20, maximum 200

Link copied to clipboard
public final Boolean isAscending()

Whether to sort in ascending order. true: ascending; false: descending (default)

Link copied to clipboard
public final Unit setAscending(Boolean isAscending)

Whether to sort in ascending order. true: ascending; false: descending (default)

Link copied to clipboard
public final Unit setPageSize(Integer pageSize)

Number of items per page. Defaults to 20, maximum 200