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 {
  final res = await TencentImSDKPlugin.v2TIMManager
      .getGroupManager()
      .getGroupMembersInfo(groupID: groupID, memberList: memberList);
  if (res.code != 0) {
    _coreService.callOnCallback(TIMCallback(
        type: TIMCallbackType.API_ERROR,
        errorMsg: res.desc,
        errorCode: res.code));
  }
  return res;
}