# `ExGram.Model.RichTextDateTime`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.67.0/lib/ex_gram.ex#L6909)

Formatted date and time.

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

- `type`: Type of the rich text, always "date_time”
- `text`: The text
- `unix_time`: The Unix time associated with the entity
- `date_time_format`: The string that defines the formatting of the date and time. See date-time entity formatting for more details.

# `t`

```elixir
@type t() :: %ExGram.Model.RichTextDateTime{
  date_time_format: String.t(),
  text: ExGram.Model.RichText.t(),
  type: String.t(),
  unix_time: integer()
}
```

# `decode_as`

---

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