downloadRemoteAttachment
downloadRemoteAttachment(
remoteAttachment):Promise<Attachment>
Defined in: sdks/js/agent-sdk/src/util/AttachmentUtil.ts:20
Downloads and decrypts a remote attachment.
Parameters
Section titled “Parameters”remoteAttachment
Section titled “remoteAttachment”The remote attachment metadata containing the downloadd URL and encryption keys
Returns
Section titled “Returns”Promise<Attachment>
A promise that resolves with the decrypted attachment

