View Source ExTDLib.Method.SetUserPersonalProfilePhoto (ExTDLib v0.0.4)

Changes a personal profile photo of a contact user. Returns object_ptr<Ok>.

NameTypeDescription
user_idstringUser identifier.
photoInputChatPhotoProfile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.

More details on telegram's documentation.