deleteGroupAttributes method

  1. @override
Future<V2TimCallback> deleteGroupAttributes({
  1. required String groupID,
  2. required List<String> keys,
})
override

删除指定群属性,keys 传 null 则清空所有群属性。

Implementation

@override
Future<V2TimCallback> deleteGroupAttributes({
  required String groupID,
  required List<String> keys,
}) async {
  Map<String, dynamic> param = {
    "groupID": groupID,
    "keys": keys,
  };
  var resp = V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deleteGroupAttributes",
        buildGroupManagerParam(
          param,
        ),
      ),
    ),
  );
  log("deleteGroupAttributes", param, resp.toLogString());
  return resp;
}