interface AgentforceAttachment
Agentforce Attachment data classes
Signature
interface AgentforceAttachment
Properties
| Property | Type | Description |
|---|---|---|
attachmentData |
AgentforceAttachment.AttachmentData |
Attachment data containing source URI and ID |
mimeType |
String? |
MIME type of the attachment |
Methods
| Method | Signature | Description |
|---|---|---|
attachmentType |
fun attachmentType(): AgentforceAttachment.AgentforceAttachmentType |
Returns the type of attachment |
Nested Types
AttachmentData
data class AttachmentData(
val sourceUri: Uri? = null,
val sourceId: String? = null
)
AgentforceAttachmentType
enum class AgentforceAttachmentType : Enum<AgentforceAttachment.AgentforceAttachmentType>
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.
Implementations
| Class | Description |
|---|---|
Image |
Image attachment implementation |
PDF |
PDF attachment implementation |
SalesforceFile |
Salesforce file attachment implementation |