SendConfirmationUseCase

class SendConfirmationUseCase(userRepository: UserRepository, currentClientIdProvider: CurrentClientIdProvider, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender)

This use case can be used by QA to send read and delivery receipts. This debug function can be used to test correct client behaviour. It should not be used by clients itself.

Constructors

Link copied to clipboard
internal constructor(userRepository: UserRepository, currentClientIdProvider: CurrentClientIdProvider, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender)

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, type: <Error class: unknown class>, firstMessageId: String, moreMessageIds: List<String>): Either<CoreFailure, Unit>