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) – The id field from an InputDocument that represents an animation. The document must have the animated flag set.

  • has_spoiler (bool, optional) – Pass True to cover the media preview with a spoiler animation.

  • caption (str | RichText, optional) – Caption of the block.