Skip to content

ImageBlock

Structure Class

ImageBlock dataclass

Bases: _SerdeShape

Image content for a message.

Attributes

error class-attribute instance-attribute
error: ErrorBlock | None = ...

Error information if the image block could not be processed or contains invalid data.

format instance-attribute
format: str

The format of the image.

source instance-attribute
source: ImageSource

The source for the image.