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

This object describes the model of a unique gift.

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

- `name`: Name of the model
- `sticker`: The sticker that represents the unique gift
- `rarity_per_mille`: The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.
- `rarity (optional)`: Optional. Rarity of the model if it is a crafted model. Currently, can be "uncommon”, "rare”, "epic”, or "legendary”.

# `t`

```elixir
@type t() :: %ExGram.Model.UniqueGiftModel{
  name: String.t(),
  rarity: String.t() | nil,
  rarity_per_mille: integer(),
  sticker: ExGram.Model.Sticker.t()
}
```

# `decode_as`

---

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