# `ExGram.Model.PollMedia`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.67.0/lib/ex_gram.ex#L4318)

At most one of the optional fields can be present in any given object.

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

- `animation (optional)`: Optional. Media is an animation, information about the animation
- `audio (optional)`: Optional. Media is an audio file, information about the file; currently, can't be received in a poll option
- `document (optional)`: Optional. Media is a general file, information about the file; currently, can't be received in a poll option
- `link (optional)`: Optional. The HTTP link attached to the poll option
- `live_photo (optional)`: Optional. Media is a live photo, information about the live photo
- `location (optional)`: Optional. Media is a shared location, information about the location
- `photo (optional)`: Optional. Media is a photo, available sizes of the photo
- `sticker (optional)`: Optional. Media is a sticker, information about the sticker; currently, for poll options only
- `venue (optional)`: Optional. Media is a venue, information about the venue
- `video (optional)`: Optional. Media is a video, information about the video

# `t`

```elixir
@type t() :: %ExGram.Model.PollMedia{
  animation: ExGram.Model.Animation.t() | nil,
  audio: ExGram.Model.Audio.t() | nil,
  document: ExGram.Model.Document.t() | nil,
  link: ExGram.Model.Link.t() | nil,
  live_photo: ExGram.Model.LivePhoto.t() | nil,
  location: ExGram.Model.Location.t() | nil,
  photo: [ExGram.Model.PhotoSize.t()] | nil,
  sticker: ExGram.Model.Sticker.t() | nil,
  venue: ExGram.Model.Venue.t() | nil,
  video: ExGram.Model.Video.t() | nil
}
```

# `decode_as`

---

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