StaticGramBot API

BusinessBotRights

Represents the rights of a business bot.

Поля

can_replyTrueoptional
True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours
can_read_messagesTrueoptional
True, if the bot can mark incoming private messages as read
True, if the bot can delete messages sent by the bot
True, if the bot can delete all private messages in managed chats
can_edit_nameTrueoptional
True, if the bot can edit the first and last name of the business account
can_edit_bioTrueoptional
True, if the bot can edit the bio of the business account
True, if the bot can edit the profile photo of the business account
can_edit_usernameTrueoptional
True, if the bot can edit the username of the business account
True, if the bot can change the privacy settings pertaining to gifts for the business account
True, if the bot can view gifts and the amount of Telegram Stars owned by the business account
True, if the bot can convert regular gifts owned by the business account to Telegram Stars
True, if the bot can transfer and upgrade gifts owned by the business account
can_transfer_starsTrueoptional
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
can_manage_storiesTrueoptional
True, if the bot can post, edit and delete stories on behalf of the business account

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top