setGroupAttributes method

  1. @override
Future<V2TimCallback> setGroupAttributes({
  1. required String groupID,
  2. required Map<String, String> attributes,
})
override

设置群属性。已有该群属性则更新其 value 值,没有该群属性则添加该属性。

Implementation

@override
Future<V2TimCallback> setGroupAttributes({
  required String groupID,
  required Map<String, String> attributes,
}) async {
  return await _v2timGroupManager
      .setGroupAttributes({"groupID": groupID, "attributes": attributes});
}