Content part interface if the part represents an image.
Signature:
export interface InlineDataPart
Properties
Property | Type | Description |
---|---|---|
functionCall | never | |
functionResponse | never | |
inlineData | GenerativeContentBlob | |
text | never | |
videoMetadata | VideoMetadata | Applicable if inlineData is a video. |
InlineDataPart.functionCall
Signature:
functionCall?: never;
InlineDataPart.functionResponse
Signature:
functionResponse?: never;
InlineDataPart.inlineData
Signature:
inlineData: GenerativeContentBlob;
InlineDataPart.text
Signature:
text?: never;
InlineDataPart.videoMetadata
Applicable if inlineData
is a video.
Signature:
videoMetadata?: VideoMetadata;