---
source: src/types/tests/input.rs
expression: "InputMediaAnimation::default().with_caption(\"caption\").with_duration(10).with_has_spoiler(true).with_height(200).with_caption_parse_mode(ParseMode::Markdown).with_show_caption_above_media(true).with_width(200)"
---
{
  "caption": "caption",
  "duration": 10,
  "has_spoiler": true,
  "height": 200,
  "parse_mode": "Markdown",
  "show_caption_above_media": true,
  "width": 200
}
