queryLive static method
Query live rooms
Implementation
static Future<OverMediaResponse> queryLive(
P2PStream stream, {
int? limit,
int? offset,
List<String>? tags,
}) async {
return _send(stream, {
'action': 'query_live',
'params': {
if (limit != null) 'limit': limit,
if (offset != null) 'offset': offset,
if (tags != null && tags.isNotEmpty) 'tags': tags,
},
});
}