RichBlockAnimation
A block with an animation, corresponding to the HTML tag <video>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “animation” |
animation | Animation | required | The animation |
has_spoiler | boolean | optional | Optional. True, if the media preview is covered by a spoiler animation |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { RichBlockAnimation } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockanimation