SingleConversation

data class SingleConversation(val conversationId: <Error class: unknown class>, val notifiedDate: <Error class: unknown class>? = null) : MarkMessagesAsNotifiedUseCase.UpdateTarget

A specific conversation, represented by its conversationId, should be marked as notified.

Parameters

conversationId

The conversation to mark as notified

notifiedDate

The timestamp of the last notified message. When provided, this exact timestamp is used instead of looking up the latest message in the database. This prevents race conditions where new messages arrive between displaying notifications and marking them as notified.

Constructors

Link copied to clipboard
constructor(conversationId: <Error class: unknown class>, notifiedDate: <Error class: unknown class>? = null)

Properties

Link copied to clipboard
val conversationId: <Error class: unknown class>
Link copied to clipboard
val notifiedDate: <Error class: unknown class>? = null