# `ExGram.Model.BackgroundTypeWallpaper`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram.ex#L4238)

The background is a wallpaper in the JPEG format.

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

- `type`: Type of the background, always "wallpaper”
- `document`: Document with the wallpaper
- `dark_theme_dimming`: Dimming of the background in dark themes, as a percentage; 0-100
- `is_blurred (optional)`: Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
- `is_moving (optional)`: Optional. True, if the background moves slightly when the device is tilted

# `t`

```elixir
@type t() :: %ExGram.Model.BackgroundTypeWallpaper{
  dark_theme_dimming: integer(),
  document: ExGram.Model.Document.t(),
  is_blurred: boolean() | nil,
  is_moving: boolean() | nil,
  type: String.t()
}
```

# `decode_as`

---

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