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

This object represents an animated emoji that displays a random value.

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

- `emoji`: Emoji on which the dice throw animation is based
- `value`: Value of the dice, 1-6 for "”, "” and "” base emoji, 1-5 for "” and "” base emoji, 1-64 for "” base emoji

# `t`

```elixir
@type t() :: %ExGram.Model.Dice{emoji: String.t(), value: integer()}
```

# `decode_as`

---

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