types.ContentImageInline
self, content_type, data=None) types.ContentImageInline(
Inline image content.
This is the return type for content_image_file
and content_image_plot
. It’s not meant to be used directly.
Parameters
Name | Type | Description | Default |
---|---|---|---|
content_type | ImageContentTypes | The content type of the image. | required |
data | Optional[str] | The base64-encoded image data. | None |