# `TwitterViewer.Media`
[🔗](https://github.com/TwitterViewer/twitterviewer-elixir/blob/v0.1.0/lib/twitterviewer/models.ex#L59)

A photo, video or GIF attached to a post. `kind` is `"photo"`, `"video"` or `"gif"`; `url` is
the photo address, or the cover image of a video or GIF.

# `t`

```elixir
@type t() :: %TwitterViewer.Media{
  alt_text: term(),
  duration_ms: term(),
  height: term(),
  id: term(),
  kind: term(),
  url: term(),
  variants: term(),
  width: term()
}
```

---

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