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