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

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

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

- `source`: Source of the boost, always "gift_code”
- `user`: User for which the gift code was created

# `t`

```elixir
@type t() :: %ExGram.Model.ChatBoostSourceGiftCode{
  source: String.t(),
  user: ExGram.Model.User.t()
}
```

# `decode_as`

---

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