# `ExGram.Model.BotAccessSettings`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.67.0/lib/ex_gram.ex#L6155)

This object describes the access settings of a bot.

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

- `is_access_restricted`: True, if only selected users can access the bot. The bot's owner can always access it.
- `added_users (optional)`: Optional. The list of other users who have access to the bot if the access is restricted

# `t`

```elixir
@type t() :: %ExGram.Model.BotAccessSettings{
  added_users: [ExGram.Model.User.t()] | nil,
  is_access_restricted: boolean()
}
```

# `decode_as`

---

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