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 {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deleteGroupAttributes",
        buildGroupManagerParam(
          {
            "groupID": groupID,
            "keys": keys,
          },
        ),
      ),
    ),
  );
}