InputRichBlockSlideshow

class aiogram.types.input_rich_block_slideshow.InputRichBlockSlideshow(*, type: Literal[InputRichBlockType.SLIDESHOW] = InputRichBlockType.SLIDESHOW, 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 slideshow, corresponding to the custom HTML tag <tg-slideshow>.

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

type: Literal[InputRichBlockType.SLIDESHOW]

Type of the block, always ‘slideshow’

blocks: list[InputRichBlockUnion]

Elements of the slideshow

caption: RichBlockCaption | None

Optional. Caption of the block