queryPeersOnlineStatus method
Queries the online status of the specified user(s).
Implementation
Future<Map<String, dynamic>> queryPeersOnlineStatus(
List<String> peerIds) async {
final res =
await _callNative("queryPeersOnlineStatus", {'peerIds': peerIds});
if (res["errorCode"] != 0)
throw AgoraRtmClientException(
"queryPeersOnlineStatus failed errorCode:${res['errorCode']}",
res['errorCode']);
return Map<String, dynamic>.from(res["results"]);
}