hide

fun hide(handler: CompletionHandler?)

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

Parameters

handler

Callback handler.


fun hide(hidePreviousMessages: Boolean, handler: CompletionHandler?)

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

Since

3.0.35

Parameters

hidePreviousMessages

If set true, the messages created before the hide will not be loaded anymore when the channel reappears.

handler

Callback handler.


fun hide(hidePreviousMessages: Boolean, allowAutoUnhide: Boolean, handler: CompletionHandler?)

Hides this channel from the current User's GroupChannel list.

Since

3.0.83

Parameters

hidePreviousMessages

If set true, the messages created before the hide will not be loaded anymore when the channel reappears.

allowAutoUnhide

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

handler

Callback handler.