24 lines
709 B
Markdown
24 lines
709 B
Markdown
---
|
|
title: setProfilePhoto
|
|
description: Uploads new profile photo for logged in user. If something changes, updateUser will be sent
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# 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 | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|photo|[InputFile](../types/InputFile.md) | Profile photo to set. inputFileId and inputFilePersistentId may be unsupported | Yes|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|