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