Hide or archive a group channel
You can hide or archive a specific group channel from the channel list UI using the code below.
List of parameters
Parameter name | Type | Description |
---|---|---|
hidePreviousMessage | bool | Determines whether to show the messages sent and received before hiding or archiving the channel on the channel list. If set to |
allowAutoUnhide | bool | Determines the state and operating behavior of a channel. If set to |
You can check the channel state on the channel list by using the hiddenState
property of a GroupChannel
object.
You can also filter channels by their state by following the code below.