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

This object represents a service message about the completion of a giveaway without public winners.

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

- `winner_count`: Number of winners in the giveaway
- `unclaimed_prize_count (optional)`: Optional. Number of undistributed prizes
- `giveaway_message (optional)`: Optional. Message with the giveaway that was completed, if it wasn't deleted
- `is_star_giveaway (optional)`: Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.

# `t`

```elixir
@type t() :: %ExGram.Model.GiveawayCompleted{
  giveaway_message: ExGram.Model.Message.t() | nil,
  is_star_giveaway: boolean() | nil,
  unclaimed_prize_count: integer() | nil,
  winner_count: integer()
}
```

# `decode_as`

---

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