onHideChannelRequest

open suspend override fun onHideChannelRequest(channelType: String, channelId: String, clearHistory: Boolean)

Runs side effect before the request is launched.

Parameters

channelType

Type of the requested channel.

channelId

Id of the requested channel.

clearHistory

Boolean, if you want to clear the history of this channel or not.