BusinessBotRights#
- class pyrogram.raw.types.BusinessBotRights#
Business bot rights.
Constructor of
BusinessBotRights.- Details:
Layer:
220ID:
A0624CF7
- Parameters:
reply (
bool, optional) – Whether the bot can send and edit messages in private chats that had incoming messages in the last 24 hours.read_messages (
bool, optional) – Whether the bot can mark incoming private messages as read.delete_sent_messages (
bool, optional) – Whether the bot can delete messages sent by the bot.delete_received_messages (
bool, optional) – Whether the bot can delete received private messages in managed chats.edit_name (
bool, optional) – Whether the bot can edit the first and last name of the business account.edit_bio (
bool, optional) – Whether the bot can edit the bio of the business account.edit_profile_photo (
bool, optional) – Whether the bot can edit the profile photo of the business account.edit_username (
bool, optional) – Whether the bot can edit the username of the business account.view_gifts (
bool, optional) – Whether the bot can view gifts and the amount of Telegram Stars owned by the business account.sell_gifts (
bool, optional) – Whether the bot can convert regular gifts owned by the business account to Telegram Stars.change_gift_settings (
bool, optional) – Whether the bot can change the privacy settings pertaining to gifts for the business account.transfer_and_upgrade_gifts (
bool, optional) – Whether the bot can transfer and upgrade gifts owned by the business account.transfer_stars (
bool, optional) – Whether the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts.manage_stories (
bool, optional) – Whether the bot can post, edit and delete stories on behalf of the business account.