businessBotRights
Business bot rights.
type tg.BusinessBotRights struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Reply | bool | — | Whether the bot can send and edit messages in private chats that had incoming messages in the last 24 hours. |
ReadMessages | bool | — | Whether the bot can mark incoming private messages as read. |
DeleteSentMessages | bool | — | Whether the bot can delete messages sent by the bot. |
DeleteReceivedMessages | bool | — | Whether the bot can delete received private messages in managed chats. |
EditName | bool | — | Whether the bot can edit the first and last name of the business account. |
EditBio | bool | — | Whether the bot can edit the bio of the business account. |
EditProfilePhoto | bool | — | Whether the bot can edit the profile photo of the business account. |
EditUsername | bool | — | Whether the bot can edit the username of the business account. |
ViewGifts | bool | — | Whether the bot can view gifts and the amount of Telegram Stars owned by the business account. |
SellGifts | bool | — | Whether the bot can convert regular gifts owned by the business account to Telegram Stars. |
ChangeGiftSettings | bool | — | Whether the bot can change the privacy settings pertaining to gifts for the business account. |
TransferAndUpgradeGifts | bool | — | Whether the bot can transfer and upgrade gifts owned by the business account. |
TransferStars | bool | — | Whether the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts. |
ManageStories | bool | — | Whether the bot can post, edit and delete stories on behalf of the business account. |
References
- Official documentation
- Generated Go reference
- TL definition:
businessBotRights#a0624cf7