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.
source
class-attribute
instance-attribute
¶
source: ImageSource = field(repr=False)
The source for the image.