Class BusinessBotRights

java.lang.Object
io.github.natanimn.telebof.types.business.BusinessBotRights

public class BusinessBotRights extends Object
Represents the rights of a business bot.
Since:
19 August 20025
Author:
Natanim
  • Field Details

    • canReply

      @SerializedName("can_reply") private Boolean canReply
      Optional. True, if the bot can send and edit messages in the chats that had incoming messages in the last 24 hours
    • canReadMessages

      @SerializedName("can_read_messages") private Boolean canReadMessages
      Optional. True, if the bot can mark incoming messages as read
    • canDeleteSentMessages

      @SerializedName("can_delete_sent_messages") private Boolean canDeleteSentMessages
      Optional. True, if the bot can delete messages sent by the bot
    • canDeleteAllMessages

      @SerializedName("can_delete_all_messages") private Boolean canDeleteAllMessages
      Optional. True, if the bot can delete all messages in managed chats
    • canEditName

      @SerializedName("can_edit_name") private Boolean canEditName
      Optional. True, if the bot can edit the first and last name of the business account
    • canEditBio

      @SerializedName("can_edit_bio") private Boolean canEditBio
      Optional. True, if the bot can edit the bio of the business account
    • canEditProfilePhoto

      @SerializedName("can_edit_profile_photo") private Boolean canEditProfilePhoto
      True, if the bot can edit the profile photo of the business account
    • canEditUsername

      @SerializedName("can_edit_username") private Boolean canEditUsername
      True, if the bot can edit the username of the business account
    • canChangeGiftSettings

      @SerializedName("can_change_gift_settings") private Boolean canChangeGiftSettings
      True, if the bot can change the privacy settings pertaining to gifts for the business account
    • canViewGiftsAndStars

      @SerializedName("can_view_gifts_and_stars") private Boolean canViewGiftsAndStars
      True, if the bot can view gifts and the amount of Telegram Stars owned by the business account
    • canConvertGiftsToStars

      @SerializedName("can_convert_gifts_to_stars") private Boolean canConvertGiftsToStars
      True, if the bot can convert regular gifts owned by the business account to Telegram Stars
    • canTransferAndUpgradeGifts

      @SerializedName("can_transfer_and_upgrade_gifts") private Boolean canTransferAndUpgradeGifts
      True, if the bot can transfer and upgrade gifts owned by the business account
    • canTransferStars

      @SerializedName("can_transfer_stars") private Boolean canTransferStars
      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
    • canManageStories

      @SerializedName("can_manage_stories") private Boolean canManageStories
      True, if the bot can post, edit and delete stories on behalf of the business account
  • Constructor Details

    • BusinessBotRights

      public BusinessBotRights()
  • Method Details

    • getCanReply

      public Boolean getCanReply()
    • getCanReadMessages

      public Boolean getCanReadMessages()
    • getCanDeleteSentMessages

      public Boolean getCanDeleteSentMessages()
    • getCanDeleteAllMessages

      public Boolean getCanDeleteAllMessages()
    • getCanEditName

      public Boolean getCanEditName()
    • getCanEditBio

      public Boolean getCanEditBio()
    • getCanEditProfilePhoto

      public Boolean getCanEditProfilePhoto()
    • getCanEditUsername

      public Boolean getCanEditUsername()
    • getCanChangeGiftSettings

      public Boolean getCanChangeGiftSettings()
    • getCanViewGiftsAndStars

      public Boolean getCanViewGiftsAndStars()
    • getCanConvertGiftsToStars

      public Boolean getCanConvertGiftsToStars()
    • getCanTransferAndUpgradeGifts

      public Boolean getCanTransferAndUpgradeGifts()
    • getCanTransferStars

      public Boolean getCanTransferStars()
    • getCanManageStories

      public Boolean getCanManageStories()