hide method
Hides the channel from StreamChatClient.queryChannels for the user until a message is added.
If clearHistory
is set to true - all messages
will be removed for the user.
Implementation
Future<EmptyResponse> hide({bool clearHistory = false}) async {
_checkInitialized();
return _client.hideChannel(
id!,
type,
clearHistory: clearHistory,
);
}