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