Skip to content

ContentBlock

Union Type

ContentBlock module-attribute

A content block.

Union Member Types

ContentBlockText dataclass

Bases: _SerdeShape

The block's text.

Attributes

value instance-attribute
value: str

ContentBlockUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str