setBusinessAccountProfilePhoto
inline fun setBusinessAccountProfilePhoto(businessConnectionId: String, photo: InputProfilePhoto, isPublic: Boolean? = null): SetBusinessAccountProfilePhotoAction(source)
Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.
Parameters
businessConnectionId
Unique identifier of the business connection
photo
The new profile photo to set
isPublic
Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo.