getUserProfiles method
Implementation
Future<List<SyImUserProfile>> getUserProfiles(List<String> userIds) async {
return _call('getUsersInfo', () async {
final list = await OpenIM.iMManager.userManager.getUsersInfo(
userIDList: userIds,
);
return list
.map(
(info) => SyImUserProfile(
userId: info.userID ?? '',
nickname: info.nickname,
faceUrl: info.faceURL,
ex: info.ex,
),
)
.toList();
});
}