AttachmentRef
The AttachmentRef type of the TypeScript SDK, part of ContentResult.
type AttachmentRef = {
contentId: string | null
contentType: string
degraded?: boolean
filename: string
inline: boolean
section: string
size: number
}Fields
| Field | Type | Description |
|---|---|---|
contentId | string | null | Content-ID header value for inline referencing, or null |
contentType | string | Attachment MIME content type |
degraded | boolean | Optional. True if attachment was generated from fallback decoding |
filename | string | Attachment filename |
inline | boolean | True if attachment is meant for inline rendering |
section | string | MIME part section identifier to fetch via /parts/:section |
size | number | Decoded attachment file size in bytes |