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

The background is a gradient fill.

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

- `type`: Type of the background fill, always "gradient”
- `top_color`: Top color of the gradient in the RGB24 format
- `bottom_color`: Bottom color of the gradient in the RGB24 format
- `rotation_angle`: Clockwise rotation angle of the background fill in degrees; 0-359

# `t`

```elixir
@type t() :: %ExGram.Model.BackgroundFillGradient{
  bottom_color: integer(),
  rotation_angle: integer(),
  top_color: integer(),
  type: String.t()
}
```

# `decode_as`

---

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