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