InputRichBlockCollage¶
- class aiogram.types.input_rich_block_collage.InputRichBlockCollage(*, type: Literal[InputRichBlockType.COLLAGE] = InputRichBlockType.COLLAGE, 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')]], caption: RichBlockCaption | None = None, **extra_data: Any)[source]¶
A collage, corresponding to the custom HTML tag
<tg-collage>.Source: https://core.telegram.org/bots/api#inputrichblockcollage
- type: Literal[InputRichBlockType.COLLAGE]¶
Type of the block, always ‘collage’
- blocks: list[InputRichBlockUnion]¶
Elements of the collage
- caption: RichBlockCaption | None¶
Optional. Caption of the block