InputRichBlockAnimation¶
- class pyrogram.types.InputRichBlockAnimation[source]¶
An animation block, corresponding to the HTML tag
<video>.Displays an animated file (GIF-like) in the message.
- Parameters:
video_id (
int) – Theidfield from anInputDocumentthat represents an animation. The document must have theanimatedflag set.has_spoiler (
bool, optional) – Pass True to cover the media preview with a spoiler animation.caption (
str|RichText, optional) – Caption of the block.