hide
suspend fun GroupChannel.hide(hidePreviousMessages: Boolean = false, allowAutoUnhide: Boolean = true)
Deprecated
As of 4.17.0, replaced with awaitHide(hidePreviousMessages, allowAutoUnhide).
Replace with
awaitHide(hidePreviousMessages, allowAutoUnhide)
Content copied to clipboard
Hides this channel from the current User
's GroupChannel
list. When a new message is received from the channel, it appears again.
Since
4.15.0
Parameters
hide Previous Messages
If true
, the previous messages will be hidden as well.