Skip to main content

businessBotRights

Business bot rights.

type tg.BusinessBotRights struct { /* ... */ }

Fields

NameTypeRequiredDescription
ReplyboolWhether the bot can send and edit messages in private chats that had incoming messages in the last 24 hours.
ReadMessagesboolWhether the bot can mark incoming private messages as read.
DeleteSentMessagesboolWhether the bot can delete messages sent by the bot.
DeleteReceivedMessagesboolWhether the bot can delete received private messages in managed chats.
EditNameboolWhether the bot can edit the first and last name of the business account.
EditBioboolWhether the bot can edit the bio of the business account.
EditProfilePhotoboolWhether the bot can edit the profile photo of the business account.
EditUsernameboolWhether the bot can edit the username of the business account.
ViewGiftsboolWhether the bot can view gifts and the amount of Telegram Stars owned by the business account.
SellGiftsboolWhether the bot can convert regular gifts owned by the business account to Telegram Stars.
ChangeGiftSettingsboolWhether the bot can change the privacy settings pertaining to gifts for the business account.
TransferAndUpgradeGiftsboolWhether the bot can transfer and upgrade gifts owned by the business account.
TransferStarsboolWhether the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts.
ManageStoriesboolWhether the bot can post, edit and delete stories on behalf of the business account.

References