FetchConversationUseCase
interface FetchConversationUseCase
Use case responsible for fetching a single conversation from the backend and persisting it locally if the fetch is successful.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun fetchWithTransaction(conversationId: ConversationId, reason: ConversationSyncReason = ConversationSyncReason.Other): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend operator fun invoke(transactionContext: CryptoTransactionContext, conversationId: ConversationId, reason: ConversationSyncReason = ConversationSyncReason.Other): Either<CoreFailure, Unit>