Interface SetUserPersonalProfilePhoto

Changes a personal profile photo of a contact user. Request type for Tdjson#setUserPersonalProfilePhoto.

interface SetUserPersonalProfilePhoto {
    @type: "setUserPersonalProfilePhoto";
    photo: InputChatPhoto;
    user_id: number;
}

Properties

Properties

@type: "setUserPersonalProfilePhoto"

Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.

user_id: number

User identifier.