SendKnockUseCase

class SendKnockUseCase(persistMessage: PersistMessageUseCase, selfUserId: <Error class: unknown class>, currentClientIdProvider: CurrentClientIdProvider, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageSendFailureHandler: MessageSendFailureHandler, selfDeleteTimer: ObserveSelfDeletionTimerSettingsForConversationUseCase, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Sending a ping/knock message to a conversation

Constructors

Link copied to clipboard
internal constructor(persistMessage: PersistMessageUseCase, selfUserId: <Error class: unknown class>, currentClientIdProvider: CurrentClientIdProvider, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageSendFailureHandler: MessageSendFailureHandler, selfDeleteTimer: ObserveSelfDeletionTimerSettingsForConversationUseCase, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, hotKnock: Boolean): Either<CoreFailure, Unit>

Operation to send a ping or knock message to a conversation