UpdateTarget

sealed interface UpdateTarget

Specifies which conversations should be marked as notified

Inheritors

Types

Link copied to clipboard

All conversations should be marked as notified.

Link copied to clipboard
data class SingleConversation(val conversationId: ConversationId, val notifiedDate: Instant? = null) : MarkMessagesAsNotifiedUseCase.UpdateTarget

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