Class BusinessBotRights
java.lang.Object
io.github.natanimn.telebof.types.business.BusinessBotRights
Represents the rights of a business bot.
- Since:
- 19 August 20025
- Author:
- Natanim
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BooleanTrue, if the bot can change the privacy settings pertaining to gifts for the business accountprivate BooleanTrue, if the bot can convert regular gifts owned by the business account to Telegram Starsprivate BooleanOptional.private BooleanOptional.private BooleanOptional.private BooleanOptional.private BooleanTrue, if the bot can edit the profile photo of the business accountprivate BooleanTrue, if the bot can edit the username of the business accountprivate BooleanTrue, if the bot can post, edit and delete stories on behalf of the business accountprivate BooleanOptional.private BooleanOptional.private BooleanTrue, if the bot can transfer and upgrade gifts owned by the business accountprivate BooleanTrue, if the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer giftsprivate BooleanTrue, if the bot can view gifts and the amount of Telegram Stars owned by the business account -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
canReply
Optional. True, if the bot can send and edit messages in the chats that had incoming messages in the last 24 hours -
canReadMessages
Optional. True, if the bot can mark incoming messages as read -
canDeleteSentMessages
Optional. True, if the bot can delete messages sent by the bot -
canDeleteAllMessages
Optional. True, if the bot can delete all messages in managed chats -
canEditName
Optional. True, if the bot can edit the first and last name of the business account -
canEditBio
Optional. True, if the bot can edit the bio of the business account -
canEditProfilePhoto
True, if the bot can edit the profile photo of the business account -
canEditUsername
True, if the bot can edit the username of the business account -
canChangeGiftSettings
True, if the bot can change the privacy settings pertaining to gifts for the business account -
canViewGiftsAndStars
True, if the bot can view gifts and the amount of Telegram Stars owned by the business account -
canConvertGiftsToStars
True, if the bot can convert regular gifts owned by the business account to Telegram Stars -
canTransferAndUpgradeGifts
True, if the bot can transfer and upgrade gifts owned by the business account -
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
True, if the bot can post, edit and delete stories on behalf of the business account
-
-
Constructor Details
-
BusinessBotRights
public BusinessBotRights()
-
-
Method Details
-
getCanReply
-
getCanReadMessages
-
getCanDeleteSentMessages
-
getCanDeleteAllMessages
-
getCanEditName
-
getCanEditBio
-
getCanEditProfilePhoto
-
getCanEditUsername
-
getCanChangeGiftSettings
-
getCanViewGiftsAndStars
-
getCanConvertGiftsToStars
-
getCanTransferAndUpgradeGifts
-
getCanTransferStars
-
getCanManageStories
-