Skip to content

GramIO API Reference / gramio/dist / TelegramBusinessBotRights

Interface: TelegramBusinessBotRights

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

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:6152
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:6160
can_delete_all_messages?trueOptional. True, if the bot can delete all private messages in managed chats@gramio/types/out/objects.d.ts:6132
can_delete_sent_messages?trueOptional. True, if the bot can delete messages sent by the bot@gramio/types/out/objects.d.ts:6128
can_edit_bio?trueOptional. True, if the bot can edit the bio of the business account@gramio/types/out/objects.d.ts:6140
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:6136
can_edit_profile_photo?trueOptional. True, if the bot can edit the profile photo of the business account@gramio/types/out/objects.d.ts:6144
can_edit_username?trueOptional. True, if the bot can edit the username of the business account@gramio/types/out/objects.d.ts:6148
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:6172
can_read_messages?trueOptional. True, if the bot can mark incoming private messages as read@gramio/types/out/objects.d.ts:6124
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:6120
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:6164
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:6168
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:6156