getGroupAttributes method
获取指定群属性,keys 传 null 则获取所有群属性。
Implementation
@override
Future<V2TimValueCallback<Map<String, String>>> getGroupAttributes({
required String groupID,
List<String>? keys,
}) async {
return V2TimValueCallback<Map<String, String>>.fromJson(
formatJson(
await _channel.invokeMethod(
"getGroupAttributes",
buildGroupManagerParam(
{
"groupID": groupID,
"keys": keys ?? [],
},
),
),
),
);
}