remove_business_account_profile_photo()

async Client.remove_business_account_profile_photo()

Remove the current profile photo of a managed business account.

Requires the can_edit_profile_photo business bot right.

Usable by Users Bots
Parameters:
  • business_connection_id (str) – Unique identifier of the business connection.

  • is_public (bool, optional) – Pass True to remove the public photo; pass False (default) to remove the main photo.

Returns:

bool – True on success.

Example

await app.remove_business_account_profile_photo(connection_id)