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

Describes the birthdate of a user.

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

- `day`: Day of the user's birth; 1-31
- `month`: Month of the user's birth; 1-12
- `year (optional)`: Optional. Year of the user's birth

# `t`

```elixir
@type t() :: %ExGram.Model.Birthdate{
  day: integer(),
  month: integer(),
  year: integer() | nil
}
```

# `decode_as`

---

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