Interface SetProfilePhoto

Changes a profile photo for the current user. Request type for Tdjson#setProfilePhoto.

interface SetProfilePhoto {
    @type: "setProfilePhoto";
    is_public?: boolean;
    photo: InputChatPhoto;
}

Properties

@type: "setProfilePhoto"
is_public?: boolean

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

Profile photo to set.