Interface SetBusinessAccountProfilePhoto

Changes a profile photo of a business account; for bots only. Request type for Tdjson#setBusinessAccountProfilePhoto.

interface SetBusinessAccountProfilePhoto {
    @type: "setBusinessAccountProfilePhoto";
    business_connection_id: string;
    is_public?: boolean;
    photo: InputChatPhoto;
}

Properties

@type: "setBusinessAccountProfilePhoto"
business_connection_id: string

Unique identifier of business connection.

is_public?: boolean

Pass true to set the public photo, which will be visible even the main photo is hidden by privacy settings.

Profile photo to set; pass null to remove the photo.