You can use the following code to hide or archive a specific group channel from the channel list UI.
Determines whether to show the messages sent and received before hiding or archiving the channel on the channel list. If set to
Determines the state and operating behavior of a channel. If set to
By using the
channel.hiddenState property, you can check the channel state on the channel list.
You can also filter channels by their state like the following.