Skip to content

GramIO API Reference / gramio/dist / TelegramBusinessBotRights

Interface: TelegramBusinessBotRights

Defined in: @gramio/types/out/objects.d.ts:5510

Represents the rights of a business bot.

Documentation

Properties

PropertyTypeDescriptionDefined in
can_change_gift_settings?trueOptional. True, if the bot can change the privacy settings pertaining to gifts for the business account@gramio/types/out/objects.d.ts:5546
can_convert_gifts_to_stars?trueOptional. True, if the bot can convert regular gifts owned by the business account to Telegram Stars@gramio/types/out/objects.d.ts:5554
can_delete_all_messages?trueOptional. True, if the bot can delete all private messages in managed chats@gramio/types/out/objects.d.ts:5526
can_delete_sent_messages?trueOptional. True, if the bot can delete messages sent by the bot@gramio/types/out/objects.d.ts:5522
can_edit_bio?trueOptional. True, if the bot can edit the bio of the business account@gramio/types/out/objects.d.ts:5534
can_edit_name?trueOptional. True, if the bot can edit the first and last name of the business account@gramio/types/out/objects.d.ts:5530
can_edit_profile_photo?trueOptional. True, if the bot can edit the profile photo of the business account@gramio/types/out/objects.d.ts:5538
can_edit_username?trueOptional. True, if the bot can edit the username of the business account@gramio/types/out/objects.d.ts:5542
can_manage_stories?trueOptional. True, if the bot can post, edit and delete stories on behalf of the business account@gramio/types/out/objects.d.ts:5566
can_read_messages?trueOptional. True, if the bot can mark incoming private messages as read@gramio/types/out/objects.d.ts:5518
can_reply?trueOptional. True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours@gramio/types/out/objects.d.ts:5514
can_transfer_and_upgrade_gifts?trueOptional. True, if the bot can transfer and upgrade gifts owned by the business account@gramio/types/out/objects.d.ts:5558
can_transfer_stars?trueOptional. 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@gramio/types/out/objects.d.ts:5562
can_view_gifts_and_stars?trueOptional. True, if the bot can view gifts and the amount of Telegram Stars owned by the business account@gramio/types/out/objects.d.ts:5550