queryGroupedChannelsInternal

fun queryGroupedChannelsInternal(limit: Int? = null, groups: Map<String, GroupedChannelsGroupQuery>? = null, watch: Boolean = true, presence: Boolean = false): Call<GroupedChannels>

Internal variant of queryGroupedChannels that accepts a per-group configuration map.

Supports per-group request options (limit, next/prev cursors) and returns per-group pagination cursors. Pagination (next or prev on any group) is only allowed when exactly one group is requested.

IMPORTANT: This is an enterprise feature and is disabled by default. For more info, reach out to our Contact & Support.

Return

A Call containing a GroupedChannels with per-group channels and cursors.

Parameters

limit

Default max channels per group when a group does not specify its own limit. Accepted range is 1..10. null uses the server default.

groups

Optional per-group configuration keyed by group name. null returns the first pages of the server-defined default set.

watch

Whether to start watching the returned channels for real-time events.

presence

Whether to receive presence events for the members of the returned channels.