Skip to content

downloadRemoteAttachment

downloadRemoteAttachment(remoteAttachment): Promise<Attachment>

Defined in: sdks/js/agent-sdk/src/util/AttachmentUtil.ts:20

Downloads and decrypts a remote attachment.

RemoteAttachment

The remote attachment metadata containing the downloadd URL and encryption keys

Promise<Attachment>

A promise that resolves with the decrypted attachment