InputRichBlockListItem¶
- class aiogram.types.input_rich_block_list_item.InputRichBlockListItem(*, blocks: list[Annotated[InputRichBlockParagraph | InputRichBlockSectionHeading | InputRichBlockPreformatted | InputRichBlockFooter | InputRichBlockDivider | InputRichBlockMathematicalExpression | InputRichBlockAnchor | InputRichBlockList | InputRichBlockBlockQuotation | InputRichBlockPullQuotation | InputRichBlockCollage | InputRichBlockSlideshow | InputRichBlockTable | InputRichBlockDetails | InputRichBlockMap | InputRichBlockAnimation | InputRichBlockAudio | InputRichBlockPhoto | InputRichBlockVideo | InputRichBlockVoiceNote | InputRichBlockThinking, 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 to be sent.
Source: https://core.telegram.org/bots/api#inputrichblocklistitem
- blocks: list[InputRichBlockUnion]¶
The content of the item
- has_checkbox: bool | None¶
Optional. Pass
Trueif the item has a checkbox
- is_checked: bool | None¶
Optional. Pass
Trueif 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