LegalHoldHandler

internal interface LegalHoldHandler

Inheritors

Functions

Link copied to clipboard
abstract suspend fun handleConversationMembersChanged(conversationId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleDisable(legalHoldDisabled: Event.User.LegalHoldDisabled): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleEnable(legalHoldEnabled: Event.User.LegalHoldEnabled): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleMessageSendFailure(conversationId: <Error class: unknown class>, messageInstant: <Error class: unknown class>, handleFailure: suspend () -> Either<CoreFailure, Unit>): Either<CoreFailure, Boolean>
Link copied to clipboard
abstract suspend fun handleNewConnection(event: Event.User.NewConnection): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleNewMessage(message: MessageUnpackResult.ApplicationMessage, isLive: Boolean): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleUserFetch(userId: <Error class: unknown class>, userIsUnderLegalHold: Boolean): Either<CoreFailure, Unit>