1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:36:55 +01:00
MadelineProto/docs/TD_docs/methods/setProfilePhoto.md

23 lines
643 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
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|photo|[CLICK ME InputFile](../types/InputFile.md) | Yes|Profile photo to set. inputFileId and inputFilePersistentId may be unsupported|
### Return type: [Ok](../types/Ok.md)