markAsRead static method

Future<void> markAsRead(
  1. {required List<String> channelUrls}
)

Sends mark as read to joined GroupChannels. This method has rate limit. You can send one request per second.

Implementation

static Future<void> markAsRead({required List<String> channelUrls}) async {
  sbLog.i(StackTrace.current, 'channelUrls: $channelUrls');
  await _instance._chat.markAsRead(channelUrls: channelUrls);
}