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

Represents the rights of a business bot.

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

- `can_reply (optional)`: Optional. True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours
- `can_read_messages (optional)`: Optional. True, if the bot can mark incoming private messages as read
- `can_delete_sent_messages (optional)`: Optional. True, if the bot can delete messages sent by the bot
- `can_delete_all_messages (optional)`: Optional. True, if the bot can delete all private messages in managed chats
- `can_edit_name (optional)`: Optional. True, if the bot can edit the first and last name of the business account
- `can_edit_bio (optional)`: Optional. True, if the bot can edit the bio of the business account
- `can_edit_profile_photo (optional)`: Optional. True, if the bot can edit the profile photo of the business account
- `can_edit_username (optional)`: Optional. True, if the bot can edit the username of the business account
- `can_change_gift_settings (optional)`: Optional. True, if the bot can change the privacy settings pertaining to gifts for the business account
- `can_view_gifts_and_stars (optional)`: Optional. True, if the bot can view gifts and the amount of Telegram Stars owned by the business account
- `can_convert_gifts_to_stars (optional)`: Optional. True, if the bot can convert regular gifts owned by the business account to Telegram Stars
- `can_transfer_and_upgrade_gifts (optional)`: Optional. True, if the bot can transfer and upgrade gifts owned by the business account
- `can_transfer_stars (optional)`: Optional. True, if the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts
- `can_manage_stories (optional)`: Optional. True, if the bot can post, edit and delete stories on behalf of the business account

# `t`

```elixir
@type t() :: %ExGram.Model.BusinessBotRights{
  can_change_gift_settings: boolean() | nil,
  can_convert_gifts_to_stars: boolean() | nil,
  can_delete_all_messages: boolean() | nil,
  can_delete_sent_messages: boolean() | nil,
  can_edit_bio: boolean() | nil,
  can_edit_name: boolean() | nil,
  can_edit_profile_photo: boolean() | nil,
  can_edit_username: boolean() | nil,
  can_manage_stories: boolean() | nil,
  can_read_messages: boolean() | nil,
  can_reply: boolean() | nil,
  can_transfer_and_upgrade_gifts: boolean() | nil,
  can_transfer_stars: boolean() | nil,
  can_view_gifts_and_stars: boolean() | nil
}
```

# `decode_as`

---

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