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.
Parameters
Section titled “Parameters”client
Section titled “client”File
uploadCallback?
Section titled “uploadCallback?”Returns
Section titled “Returns”Promise<RemoteAttachment>