awaitHide

suspend fun GroupChannel.awaitHide(hidePreviousMessages: Boolean = false, allowAutoUnhide: Boolean = true)

Hides this channel from the current User's GroupChannel list. When a new message is received from the channel, it appears again.

Since

4.17.0

Parameters

hidePreviousMessages

If true, the previous messages will be hidden as well.

allowAutoUnhide

If set true, when a new message is received from the channel, it appears again.