hideChannel method
Hides the channel from 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> hideChannel(
String channelId,
String channelType, {
bool clearHistory = false,
}) =>
_chatApi.channel.hideChannel(
channelId,
channelType,
clearHistory: clearHistory,
);