Package 

Class ChannelInfoViewController


  • 
    public final class ChannelInfoViewController
    
                        

    Controller responsible for managing the state and events related to channel information.

    It provides functionality to observe channel data, members, and perform various channel-related actions such as renaming, muting, leaving, and deleting the channel. It also handles state updates and emits events for UI consumption.

    • Constructor Detail

      • ChannelInfoViewController

        ChannelInfoViewController(String cid, CoroutineScope scope, Function1<ChannelInfoViewState.Content.Option, Boolean> optionFilter, ChatClient chatClient, Flow<ChannelState> channelState, ChannelClient channelClient, Flow<GlobalState> globalState)
        Parameters:
        cid - The unique identifier of the channel.
        scope - The CoroutineScope used for launching coroutines.
        optionFilter - A filter function for channel options, allowing customization of which options are displayed.
        chatClient - The ChatClient instance used for interacting with the chat API.
        channelState - A Flow representing the state of the channel.
        channelClient - The ChannelClient instance for performing channel-specific operations.