UpdateConversationReadDateUseCase

class UpdateConversationReadDateUseCase(conversationRepository: ConversationRepository, messageSender: MessageSender, currentClientIdProvider: CurrentClientIdProvider, selfUserId: <Error class: unknown class>, selfConversationIdProvider: SelfConversationIdProvider, sendConfirmation: SendConfirmationUseCase, workQueue: ConversationWorkQueue, logger: <Error class: unknown class> = kaliumLogger)

This use case will update last read date for a conversation. After that, will sync against other user's registered clients, using the self conversation.

Constructors

Link copied to clipboard
internal constructor(conversationRepository: ConversationRepository, messageSender: MessageSender, currentClientIdProvider: CurrentClientIdProvider, selfUserId: <Error class: unknown class>, selfConversationIdProvider: SelfConversationIdProvider, sendConfirmation: SendConfirmationUseCase, workQueue: ConversationWorkQueue, logger: <Error class: unknown class> = kaliumLogger)

Functions

Link copied to clipboard
operator fun invoke(conversationId: <Error class: unknown class>, time: <Error class: unknown class>)