View Source ExTDLib.Method.SetProfilePhoto (ExTDLib v0.0.4)
Changes a profile photo for the current user. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| photo | InputChatPhoto | Profile photo to set. |
| is_public | bool | Pass 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.