hideChannel method

Future<EmptyResponse> hideChannel(
  1. String channelId,
  2. String channelType, {
  3. bool clearHistory = false,
})

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,
    );