changeGroupMute method

Future changeGroupMute({
  1. required String groupID,
  2. required bool mute,
  3. String? operationID,
})

开启群禁言,所有群成员禁止发言 groupID 将开启群禁言的组ID mute true:开启,false:关闭

Implementation

Future<dynamic> changeGroupMute({
  required String groupID,
  required bool mute,
  String? operationID,
}) =>
    _channel.invokeMethod(
        'changeGroupMute',
        _buildParam({
          'gid': groupID,
          'mute': mute,
          'operationID': Utils.checkOperationID(operationID),
        }));