Skip to content

Bedrock Runtime  >  Structures  >  ImageBlock

ImageBlock

Structure Class

ImageBlock dataclass

Image content for a message.

Attributes

error class-attribute instance-attribute
error: ErrorBlock | None = field(repr=False, default=None)

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

format instance-attribute
format: ImageFormat

The format of the image.

source class-attribute instance-attribute
source: ImageSource = field(repr=False)

The source for the image.