getGroupMembersInfo method

  1. @override
Future<V2TimValueCallback<List<V2TimGroupMemberFullInfo>>> getGroupMembersInfo({
  1. required String groupID,
  2. required List<String> memberList,
})
override

获取指定的群成员资料

Implementation

@override

///获取指定的群成员资料
///
Future<V2TimValueCallback<List<V2TimGroupMemberFullInfo>>> getGroupMembersInfo({
  required String groupID,
  required List<String> memberList,
}) async {
  Map<String, dynamic> param = {
    "groupID": groupID,
    "memberList": memberList,
  };
  var resp = V2TimValueCallback<List<V2TimGroupMemberFullInfo>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getGroupMembersInfo",
        buildGroupManagerParam(
          param,
        ),
      ),
    ),
  );
  log("getGroupMembersInfo", param, resp.toLogString());
  return resp;
}