queryGroupedChannels

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

Queries channels grouped into the specified groups and returns the first page of each.

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

groups

The group names to fetch. Required; must contain at least one group name. Duplicate names are silently de-duplicated.

limit

Default max channels per group. Accepted range is 1..10. null uses the server default.

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.