Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

TextPart.md

46 lines780 Bytes

Interface: TextPart<TMetadata>

Defined in: types.ts:239

Message parts - building blocks of UIMessage

Type Parameters

TMetadata

TMetadata = unknown

Properties

content

content: string;

Defined in: types.ts:241


metadata?

optional metadata: TMetadata;

Defined in: types.ts:242


type

type: "text";

Defined in: types.ts:240