How do I get hidden / frozen channels?

I couldn’t find a way to get hidden channels.
I couldn’t get any frozen channel when I request List group channels API.

Thank you.

Hi @seona_jung,

Welcome to the Sendbird Community.

It ultimately depends on which of the two queries in the Platform API you’re using.

If you’re using the List Group Channels, frozen channels are included by default as show_frozen defaults to true.
List Group Channels does not take into account the context of the user, and as such it would not be aware of whether a channel was hidden or not.

If you’re using the MyGroupChannelList it does take into account the context of the user and thus you can pass in hidden_mode which defaults to unhidden_only. Frozen channels are included by default as well as show_frozen defaults to true.

1 Like