library / io.getstream.chat.android.livedata.usecase / HideChannelImpl / invoke

invoke

operator fun invoke(cid: String, keepHistory: Boolean): Call2<Unit>

Hides the channel with the specified id

Parameters

cid - : the full channel id IE messaging:123

keepHistory - : boolean, if you want to keep the history of this channel or not

Return
A call object with Unit as the return type