Package version:

Interface MessageDeltaTextContent

Represents a streamed text content part within a streaming message delta chunk.

interface MessageDeltaTextContent {
    index: number;
    text?: MessageDeltaTextContentObject;
    type: "text";
}

Hierarchy (view full)

Properties

Properties

index: number

The index of the content part of the message.

The text content details.

type

The type of content for this content part, which is always "text."