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, optional) – Theidfield from anInputDocumentthat represents an animation. The document must have theanimatedflag set.animation (
str|InputMediaAnimation, optional) – The animation to send, as a file identifier of an already uploaded file, a local path, an HTTP URL or anInputMediaAnimationobject. Given instead of video_id.has_spoiler (
bool, optional) – Pass True to cover the media preview with a spoiler animation.caption (
str|RichText, optional) – Caption of the block.