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

Changes a profile photo for the current user. Returns object_ptr<Ok>.

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

More details on telegram's documentation.