invoke

open suspend operator override fun invoke(conversationId: <Error class: unknown class>, time: <Error class: unknown class>): MarkConversationAsReadResult

Updates the conversation read date locally and returns whether the conversation still has unread events.

Return

Either.Right with true if there are still unread events, false otherwise Either.Left with StorageFailure if the operation failed

Parameters

conversationId

The conversation to mark as read

time

The timestamp to set as the last read date