peyk.platforms.telegram.types.rich_block_animation¶
Classes
|
A block with an animation, corresponding to the HTML tag . |
- class peyk.platforms.telegram.types.rich_block_animation.RichBlockAnimation(animation: Animation | None = None)[source]¶
Bases:
objectA block with an animation, corresponding to the HTML tag .
- Variables:
type – Type of the block, always ‘animation’
animation (peyk.platforms.telegram.types.animation.Animation | None) – The animation
has_spoiler – True, if the media preview is covered by a spoiler animation
caption – Caption of the block