GroupedQueryConfig

data class GroupedQueryConfig(val limit: Int?, val pageSize: Int?, val watch: Boolean, val presence: Boolean, val filter: FilterObject? = null, val sort: QuerySorter<Channel>? = null)

Configuration captured from the most recent ChatClient.queryGroupedChannels request that targeted a specific group. Subsequent paginated and recovery calls read this back so they reuse the original parameters the caller chose.

Constructors

Link copied to clipboard
constructor(limit: Int?, pageSize: Int?, watch: Boolean, presence: Boolean, filter: FilterObject? = null, sort: QuerySorter<Channel>? = null)

Properties

Link copied to clipboard

This group's filter (GroupedChannelsGroupQuery.filter), or null when the group was requested without one.

Link copied to clipboard
val limit: Int?

Request-level fallback limit applied to every group that doesn't specify its own override.

Link copied to clipboard

This group's per-group override (GroupedChannelsGroupQuery.limit). null when only the request-level limit was specified.

Link copied to clipboard

Whether the request asked to subscribe to presence events.

Link copied to clipboard

The order the request asked for, or null for the server default.

Link copied to clipboard

Whether the request asked to subscribe to channel events.