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

Describes a transaction with a chat.

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

- `type`: Type of the transaction partner, always "chat”
- `chat`: Information about the chat
- `gift (optional)`: Optional. The gift sent to the chat by the bot

# `t`

```elixir
@type t() :: %ExGram.Model.TransactionPartnerChat{
  chat: ExGram.Model.Chat.t(),
  gift: ExGram.Model.Gift.t() | nil,
  type: String.t()
}
```

# `decode_as`

---

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