markAsRead method

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

Marks the messages in the specified channels as read.

channelUrls : The URLs of the channels to mark as read.

Implementation

Future<void> markAsRead({required List<String> channelUrls}) async {
  await SendbirdChat.markAsRead(channelUrls: channelUrls);
}