ChannelListViewModel
Creates a view model that queries channels by an explicit filter and sort.
Parameters
Filter for querying channels. When null, a default filter scoped to messaging channels the current user is a member of is used. Can be changed at runtime via setFilters.
Defines the ordering of the channels.
Creates a view model that queries channels using a predefined filter resolved by the server.
The filter and sort are identified by predefinedFilterName and resolved server-side; filterValues and sortValues interpolate into the predefined template. setFilters does not affect a view model created this way.
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.