telegramx.js

RichBlockAnimation

interface

A block with an animation, corresponding to the HTML tag .

Declaration

interface RichBlockAnimation 

Properties

animationproperty#
animation: Animation;

The animation

captionproperty#
caption?: RichBlockCaption;

Optional. Caption of the block

has_spoilerproperty#
has_spoiler?: boolean;

Optional. True, if the media preview is covered by a spoiler animation

typeproperty#
type: 'animation';

Type of the block, always "animation"