# `ExGram.Model.MessageGenerationStopped`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.71.0/lib/ex_gram.ex#L4830)

This object describes an update about a user stopping message generation.

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

- `chat`: Chat in which the message is generated
- `draft_id`: Unique identifier of the message draft which was stopped
- `message_thread_id (optional)`: Optional. Unique identifier of the message thread in which the message is generated

# `t`

```elixir
@type t() :: %ExGram.Model.MessageGenerationStopped{
  chat: ExGram.Model.Chat.t(),
  draft_id: integer(),
  message_thread_id: integer() | nil
}
```

# `decode_as`

---

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