QueryChannelsResult

data class QueryChannelsResult(val channels: List<Channel>, val predefinedFilter: PredefinedFilter?)

Result wrapper for io.getstream.chat.android.client.api.ChatApi.queryChannels. Holds both the list of channels and the optional parsed predefined filter returned by the backend.

Parameters

channels

The list of channels returned by the query.

predefinedFilter

The parsed predefined filter metadata, or null if a regular filter was used.

Constructors

Link copied to clipboard
constructor(channels: List<Channel>, predefinedFilter: PredefinedFilter?)

Properties

Link copied to clipboard
Link copied to clipboard