RichBlockListItem

class aiogram.types.rich_block_list_item.RichBlockListItem(*, label: str, blocks: list[Annotated[RichBlockParagraph | RichBlockSectionHeading | RichBlockPreformatted | RichBlockFooter | RichBlockDivider | RichBlockMathematicalExpression | RichBlockAnchor | RichBlockList | RichBlockBlockQuotation | RichBlockPullQuotation | RichBlockCollage | RichBlockSlideshow | RichBlockTable | RichBlockDetails | RichBlockMap | RichBlockAnimation | RichBlockAudio | RichBlockPhoto | RichBlockVideo | RichBlockVoiceNote | RichBlockThinking, FieldInfo(annotation=NoneType, required=True, discriminator='type')]], has_checkbox: bool | None = None, is_checked: bool | None = None, value: int | None = None, type: str | None = None, **extra_data: Any)[source]

An item of a list.

Source: https://core.telegram.org/bots/api#richblocklistitem

label: str

Label of the item

blocks: list[RichBlockUnion]

The content of the item

has_checkbox: bool | None

Optional. True, if the item has a checkbox

is_checked: bool | None

Optional. True, if the item has a checked checkbox

value: int | None

Optional. For ordered lists, the numeric value of the item label

type: str | None

Optional. For ordered lists, the type of the item label; must be one of ‘a’ for lowercase letters, ‘A’ for uppercase letters, ‘i’ for lowercase Roman numerals, ‘I’ for uppercase Roman numerals, or ‘1’ for decimal numbers