BusinessBotRights¶
- class pyrogram.types.BusinessBotRights¶
Describes actions that a connected business bot is allowed to take in a chat.
- Parameters:
can_reply (
bool, optional) – True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours.can_read_messages (
bool, optional) – True, if the bot can mark incoming private messages as read.can_delete_sent_messages (
bool, optional) – True, if the bot is allowed to delete sent messages.can_delete_all_messages (
bool, optional) – True, if the bot is allowed to delete any message.can_edit_name (
bool, optional) – True, if the bot can edit name of the business account.can_edit_bio (
bool, optional) – True, if the bot can edit bio of the business account.can_edit_profile_photo (
bool, optional) – True, if the bot can edit profile photo of the business account.can_edit_username (
bool, optional) – True, if the bot can edit username of the business account.can_view_gifts_and_stars (
bool, optional) – True, if the bot can view gifts and amount of Telegram Stars owned by the business account.can_sell_gifts (
bool, optional) – True, if the bot can sell regular gifts received by the business account.can_change_gift_settings (
bool, optional) – True, if the bot can change gift receiving settings of the business account.can_transfer_and_upgrade_gifts (
bool, optional) – True, if the bot can transfer and upgrade gifts received by the business account.can_transfer_stars (
bool, optional) – True, if the bot can transfer Telegram Stars received by the business account to account of the bot, or use them to upgrade and transfer gifts.can_manage_stories (
bool, optional) – True, if the bot can send, edit and delete stories.