muteChannel method

Future<EmptyResponse> muteChannel(
  1. String channelCid, {
  2. Duration? expiration,
})

Mutes the channel

Implementation

Future<EmptyResponse> muteChannel(
  String channelCid, {
  Duration? expiration,
}) =>
    _chatApi.moderation.muteChannel(
      channelCid,
      expiration: expiration,
    );