Rich messages

RichBlockAnimation

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

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “animation”
animationAnimationrequiredThe animation
has_spoilerbooleanoptionalOptional. True, if the media preview is covered by a spoiler animation
captionRichBlockCaptionoptionalOptional. Caption of the block

import

types.ts
import type { RichBlockAnimation } from "@yaebal/types";

used by

types