markAsRead

abstract suspend fun markAsRead(conversationEntry: ConversationEntry): Result<ConversationEntry>

Marks a ConversationEntry as read by the local participant.

Call this when the user views an incoming message to update the read high watermark. This notifies the agent that the message was seen.

Return

Result.Success with the acknowledged ConversationEntry, or Result.Error on failure.

Parameters

conversationEntry

The entry to mark as read.