createRemoteAttachment
createRemoteAttachment(
encryptedAttachment,fileUrl):RemoteAttachment
Defined in: sdks/js/agent-sdk/src/util/AttachmentUtil.ts:40
Creates a remote attachment object from an encrypted attachment and file URL.
Parameters
Section titled “Parameters”encryptedAttachment
Section titled “encryptedAttachment”The encrypted attachment containing encryption keys and metadata
fileUrl
Section titled “fileUrl”string
The URL where the encrypted attachment can be downloaded
Returns
Section titled “Returns”A remote attachment object with all necessary metadata for retrieval and decryption

