ContentResult
The ContentResult type of the TypeScript SDK, which messages.getContent take or answer.
type ContentResult = {
attachments: AttachmentRef[]
headers: ContentHeaders
html: ContentBody | null
text: ContentBody | null
}Fields
| Field | Type | Description |
|---|---|---|
attachments | AttachmentRef[] | List of file attachments |
headers | ContentHeaders | |
html | ContentBody | null | HTML body part, or null if message has no HTML |
text | ContentBody | null | Plain-text body part, or null if message has no plain text |
Used by
| Method | What it does |
|---|---|
messages.getContent | Get parsed message content and attachments |