getGroupsInfo method

  1. @override
Future<V2TimValueCallback<List<V2TimGroupInfoResult>>> getGroupsInfo({
  1. required List<String> groupIDList,
})
override

拉取群资料

参数

groupIDList	群 ID 列表

Implementation

@override
Future<V2TimValueCallback<List<V2TimGroupInfoResult>>> getGroupsInfo({
  required List<String> groupIDList,
}) async {
  Map<String, dynamic> param = {
    "groupIDList": groupIDList,
  };
  var resp = V2TimValueCallback<List<V2TimGroupInfoResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getGroupsInfo",
        buildGroupManagerParam(
          param,
        ),
      ),
    ),
  );
  log("getGroupsInfo", param, resp.toLogString());
  return resp;
}