InputRichBlockAnimation

class aiogram.types.input_rich_block_animation.InputRichBlockAnimation(*, type: Literal[InputRichBlockType.ANIMATION] = InputRichBlockType.ANIMATION, animation: InputMediaAnimation, caption: RichBlockCaption | None = None, **extra_data: Any)[source]

A block with an animation, corresponding to the HTML tag <video>.

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

type: Literal[InputRichBlockType.ANIMATION]

Type of the block, always ‘animation’

animation: InputMediaAnimation

The animation. Caption is ignored

caption: RichBlockCaption | None

Optional. Caption of the block