QueryChannelsRequest

data class QueryChannelsRequest(val filter: FilterObject, var offset: Int = 0, var limit: Int, val querySort: QuerySorter<Channel> = QuerySortByField(), var messageLimit: Int = 0, var memberLimit: Int = 1) : ChannelRequest<QueryChannelsRequest>

Request body class for querying channels.

Constructors

Link copied to clipboard
constructor(filter: FilterObject, offset: Int = 0, limit: Int, querySort: QuerySorter<Channel> = QuerySortByField(), messageLimit: Int = 0, memberLimit: Int = 1)

Properties

Link copied to clipboard

FilterObject conditions used by backend to filter queries response.

Link copied to clipboard

True if this request is querying the first page, otherwise False.

Link copied to clipboard
var limit: Int

Number of channels to be returned by this query channels request.

Link copied to clipboard

Number of members in the response.

Link copied to clipboard

Number of messages in the response.

Link copied to clipboard
var offset: Int

Pagination offset.

Link copied to clipboard
open override var presence: Boolean
Link copied to clipboard

QuerySorter Sort specification for api queries.

Link copied to clipboard

List of sort specifications.

Link copied to clipboard
open override var state: Boolean
Link copied to clipboard
open override var watch: Boolean

Functions

Link copied to clipboard

Sets the number of channels to be returned by this backend.

Link copied to clipboard

Sets the limit of number of messages to be returned by this backend.

Link copied to clipboard

Sets the offset to this request.

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard