setGroupAttributes method

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

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

Implementation

Future<V2TimCallback> setGroupAttributes({
  required String groupID,
  required Map<String, String> attributes,
}) async {
  return TencentCloudChatSdkPlatform.instance
      .setGroupAttributes(groupID: groupID, attributes: attributes);
}