Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

TextPart

Interface: TextPart<TMetadata>

Defined in: types.ts:248

Message parts - building blocks of UIMessage

Type Parameters

TMetadata

TMetadata = unknown

Properties

content

ts
content: string;
content: string;

Defined in: types.ts:250


metadata?

ts
optional metadata: TMetadata;
optional metadata: TMetadata;

Defined in: types.ts:251


type

ts
type: "text";
type: "text";

Defined in: types.ts:249