Skip to content

createRemoteAttachmentFromFile

createRemoteAttachmentFromFile(client, file, uploadCallback?): Promise<RemoteAttachment>

Defined in: sdks/agent/src/util/AttachmentUtil.ts:52

Create and upload a file. The optional callback selects app-owned hosting.

Client

File

AttachmentUploadCallback

Promise<RemoteAttachment>