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

Describes an amount of Telegram Stars.

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

- `amount`: Integer amount of Telegram Stars, rounded to 0; can be negative
- `nanostar_amount (optional)`: Optional. The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if amount is non-positive

# `t`

```elixir
@type t() :: %ExGram.Model.StarAmount{
  amount: integer(),
  nanostar_amount: integer() | nil
}
```

# `decode_as`

---

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