GetMessageAssetUseCase
Functions
Link copied to clipboard
abstract suspend operator fun invoke(conversationId: <Error class: unknown class>, messageId: String): <Error class: unknown class><MessageAssetResult>
Function that enables fetching a message asset locally or if it doesn't exist, downloading it from the server, decrypting it and saving it locally. The function returns a Deferred result to the path where the decrypted asset was stored. The caller is responsible for deciding whether to wait for the result or not.