[docs]classRichBlockAnimation(RichBlock):""" A block with an animation, corresponding to the HTML tag :code:`<video>`. Source: https://core.telegram.org/bots/api#richblockanimation """type:Literal[RichBlockType.ANIMATION]=RichBlockType.ANIMATION"""Type of the block, always 'animation'"""animation:Animation"""The animation"""has_spoiler:bool|None=None"""*Optional*. :code:`True`, if the media preview is covered by a spoiler animation"""caption:RichBlockCaption|None=None"""*Optional*. Caption of the block"""ifTYPE_CHECKING:# DO NOT EDIT MANUALLY!!!# This section was auto-generated via `butcher`def__init__(__pydantic__self__,*,type:Literal[RichBlockType.ANIMATION]=RichBlockType.ANIMATION,animation:Animation,has_spoiler:bool|None=None,caption:RichBlockCaption|None=None,**__pydantic_kwargs:Any,)->None:# DO NOT EDIT MANUALLY!!!# This method was auto-generated via `butcher`# Is needed only for type checking and IDE support without any additional pluginssuper().__init__(type=type,animation=animation,has_spoiler=has_spoiler,caption=caption,**__pydantic_kwargs,)