download File
abstract suspend fun downloadFile( fileName: String, mimeType: String?, url: String?, elementToDecrypt: ElementToDecrypt?): File
Content copied to clipboard
Download a file if necessary and ensure that if the file is encrypted, the file is decrypted. Result will be a decrypted file, stored in the cache folder. url parameter will be used to create unique filename to avoid name collision.
open suspend fun downloadFile(messageContent: MessageWithAttachmentContent): File
Content copied to clipboard