set_profile_photo


Description:

public async Ok set_profile_photo (InputChatPhoto photo, bool is_public) throws TDLibError

Changes a profile photo for the current user

Parameters:

photo

Profile photo to set

is_public

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