GroupedChannelsGroupQuery

data class GroupedChannelsGroupQuery(val limit: Int? = null, val next: String? = null, val prev: String? = null, val filter: FilterObject? = null)

Per-group request options for ChatClient.queryGroupedChannels.

Parameters

limit

Max channels for this group. null falls back to the request-level limit (which, in turn, falls back to the server default when also null).

next

Cursor for the next page of this group. Mutually exclusive with prev.

prev

Cursor for the previous page of this group. Mutually exclusive with next.

filter

Conditions the group's channels must match, or null to return the group as stored. For a named group, only a query_timestamp greaterThanEquals cutoff is accepted, given as a date, a full timestamp or a relative now-7d / 7d value. For the all group, or branches each combine a group condition (eq or in) with an optional cutoff using and, or a single standalone ne excludes one group. Filters.neutral matches every channel of the stored group. A non-null filter requires the request to sort by query_timestamp descending.

Constructors

Link copied to clipboard
constructor(limit: Int? = null, next: String? = null, prev: String? = null, filter: FilterObject? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val limit: Int?
Link copied to clipboard
val next: String?
Link copied to clipboard
val prev: String?