# `ExGram.Model.InputRichBlockAnimation`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.69.0/lib/ex_gram.ex#L7735)

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

Check the [documentation of this model on Telegram Bot API](https://core.telegram.org/bots/api#inputrichblockanimation)

- `type`: Type of the block, always "animation”
- `animation`: The animation. Caption is ignored.
- `caption (optional)`: Optional. Caption of the block

# `t`

```elixir
@type t() :: %ExGram.Model.InputRichBlockAnimation{
  animation: ExGram.Model.InputMediaAnimation.t(),
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  type: String.t()
}
```

# `decode_as`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
