MadelineProto/docs/TD_docs/methods/setProfilePhoto.md
Daniil Gentili 43adf77378 docufix
2017-12-21 20:08:25 +00:00

23 lines
630 B
Markdown

---
title: setProfilePhoto
description: Uploads new profile photo for logged in user. If something changes, updateUser will be sent
---
## Method: setProfilePhoto
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Uploads new profile photo for logged in user. If something changes, updateUser will be sent
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|photo|[InputFile](../types/InputFile.md) | Yes|Profile photo to set. inputFileId and inputFilePersistentId may be unsupported|
### Return type: [Ok](../types/Ok.md)