ChannelInfoViewModelFactory

constructor(context: Context, cid: String, optionFilter: (option: ChannelInfoViewState.Content.Option) -> Boolean = { true })

Parameters

context

The application context.

cid

The full channel identifier (Ex. "messaging:123").

optionFilter

A filter function for channel options, allowing customization of which options are displayed. Defaults to a function that returns true for all options.