TextPart interface

Content part interface if the part represents a text string.

Signature:

export interface TextPart 

Properties

Property Type Description
functionCall never
functionResponse never
inlineData never
text string

TextPart.functionCall

Signature:

functionCall?: never;

TextPart.functionResponse

Signature:

functionResponse?: never;

TextPart.inlineData

Signature:

inlineData?: never;

TextPart.text

Signature:

text: string;