Skip to content

setProfilePhoto

Function · TDLib 1.8.67 · d1085f9c

Changes a profile photo for the current user

setProfilePhoto(
  photo: InputChatPhoto,
  is_public: Bool
) → Ok

photo

InputChatPhoto

Profile photo to set

is_public

Bool

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