ChannelListViewModelFactory
Builds a factory for a ChannelListViewModel that queries channels by an explicit filter and sort.
Parameters
The sorting order for channels.
The base filters used to filter out channels. When null, a default filter scoped to messaging channels the current user is a member of is used.
Builds a factory for a ChannelListViewModel that queries channels using a predefined filter resolved by the server.
Parameters
The name of the predefined filter registered on the backend.
Optional values interpolated into the predefined filter template.
Optional values interpolated into the predefined sort template.
Grouped ChannelListViewModel factory. Wires the ViewModel to the state identified by groupKey without firing a remote call; queryGroupedChannels responses populate it.
IMPORTANT: This is an enterprise feature and is disabled by default. For more info, reach out to our Contact & Support.
Parameters
The name of the channels group.
The prepared ChatClient instance required for fetching the data.
If the draft message feature is enabled.
Optional sorting for message search results.