API Reference
TextPart
Defined in: types/content-part.ts:31
A plain-text content part — the array-form counterpart to a bare content
string. Several may appear interleaved with image/audio/file parts.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
text | string | The text of this part. | types/content-part.ts:35 |
type | "text" | Discriminant. | types/content-part.ts:33 |