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

The background is a freeform gradient that rotates after every message in the chat.

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

- `type`: Type of the background fill, always "freeform_gradient”
- `colors`: A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format

# `t`

```elixir
@type t() :: %ExGram.Model.BackgroundFillFreeformGradient{
  colors: [integer()],
  type: String.t()
}
```

# `decode_as`

---

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