set_business_account_profile_photo()¶
- Client.set_business_account_profile_photo()
Sets the profile photo of a managed business account.
Usable by Users Bots
- Parameters:
business_connection_id (
str) – Unique identifier of the business connection.photo (
str|BinaryIO, optional) – Profile photo to set. File path or binary IO.video (
str|BinaryIO, optional) – Profile video to set. File path or binary IO.is_public (
bool, optional) – Pass True to set the public photo.
- Returns:
bool– True on success.
Example
await app.set_business_account_profile_photo(connection_id, photo="photo.jpg") await app.set_business_account_profile_photo(connection_id, video="video.mp4")