invoke
open suspend operator override 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.
Return
a Deferred with the Path and size of the decrypted asset in case of success or CoreFailure if any failure occurred.
Parameters
conversationId
the conversation ID the asset message belongs to
messageId
the message Identifier