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

Describes the connection of the bot with a business account.

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

- `id`: Unique identifier of the business connection
- `user`: Business account user that created the business connection
- `user_chat_id`: Identifier of a private chat with the user who created the business connection. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
- `date`: Date the connection was established in Unix time
- `is_enabled`: True, if the connection is active
- `rights (optional)`: Optional. Rights of the business bot

# `t`

```elixir
@type t() :: %ExGram.Model.BusinessConnection{
  date: integer(),
  id: String.t(),
  is_enabled: boolean(),
  rights: ExGram.Model.BusinessBotRights.t() | nil,
  user: ExGram.Model.User.t(),
  user_chat_id: integer()
}
```

# `decode_as`

---

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