The text content that is part of a message.

interface TextDeltaBlock {
    index: number;
    text?: TextDelta;
    type: "text";
}

Properties

Properties

index: number

The index of the content part in the message.

text?: TextDelta
type: "text"

Always text.