ContentBody
The ContentBody type of the TypeScript SDK, part of ContentResult.
type ContentBody = {
charset: string | null
content: string | null
section: string
size: number
truncated: boolean
}Fields
| Field | Type | Description |
|---|---|---|
charset | string | null | Original character set encoding |
content | string | null | Decoded body text content (null if truncated due to large size) |
section | string | MIME section identifier |
size | number | Full decoded body size in bytes |
truncated | boolean | True if body content was truncated because it exceeded inline limits |