AgentforceAttachment
interface AgentforceAttachment
Agentforce Attachment data classes
| Property | Type | Description |
|---|---|---|
attachmentData | AgentforceAttachment.AttachmentData | Attachment data containing source URI and ID |
mimeType | String? | MIME type of the attachment |
| Method | Signature | Description |
|---|---|---|
attachmentType | fun attachmentType(): AgentforceAttachment.AgentforceAttachmentType | Returns the type of attachment |
Entries:
ImagePDFSalesforceFile
Image and PDF are the attachment types supported for multimodal input to the AI agent. SalesforceFile covers files relayed through Salesforce outside of that input path, such as files a human agent shares during a conversation handoff.
| Class | Description |
|---|---|
Image | Image attachment implementation |
PDF | PDF attachment implementation |
SalesforceFile | Salesforce file attachment implementation |