Content part interface if the part represents a text string.

interface TextPart {
    functionCall?: never;
    functionResponse?: never;
    inlineData?: never;
    text: string;
}

Properties

functionCall?: never
functionResponse?: never
inlineData?: never
text: string