Marking a channel as read does not reflect in the UI

According to the docs using this function should successfully mark a channel as read, and when implementing it, the api call seems to work (getting a 200 as response), but for some reason it is not updating the UI correctly until complete refresh is done, In other words the UI keep marking a notification in that channel, even after the function is executed.

async function markAsRead() {
    await channel.markAsRead()
}

@Emmy Regarding the issue you’re experiencing, we need some additional information:

  1. The code snippet where the issue occurs.
  2. The platform and version you are implementing.
  3. Steps to reproduce the issue along with a screenshot or screen recording.