getFriendsInfo method
Implementation
@override
Future<List<V2TimFriendInfoResult>?> getFriendsInfo({
required List<String> userIDList,
}) async {
final res = await TencentImSDKPlugin.v2TIMManager
.getFriendshipManager()
.getFriendsInfo(userIDList: userIDList);
if (res.code == 0) {
return res.data;
} else {
_coreService.callOnCallback(TIMCallback(
type: TIMCallbackType.API_ERROR,
errorMsg: res.desc,
errorCode: res.code));
return null;
}
}