peyk.platforms.telegram.methods.remove_business_account_profile_photo¶
- async peyk.platforms.telegram.methods.remove_business_account_profile_photo(self, business_connection_id: str, *, is_public: bool | None = None) bool¶
Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.
- Parameters:
business_connection_id – Unique identifier of the business connection
is_public – Pass True to remove the public photo, which is visible even if the main photo is hidden by the business account’s privacy settings. After the main photo is removed, the previous profile photo (if present) becomes the main photo.
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool