962 B
962 B
title | description |
---|---|
setProfilePhoto | Uploads new profile photo for logged in user. Photo will not change until change will be synchronized with the server. Photo will not be changed if application is killed before it can send request to the server. If something changes, updateUser will be sent |
Method: setProfilePhoto
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Uploads new profile photo for logged in user. Photo will not change until change will be synchronized with the server. Photo will not be changed if application is killed before it can send request to the server. If something changes, updateUser will be sent
Params:
Name | Type | Required | Description |
---|---|---|---|
photo | InputFile | Yes | Profile photo to set. inputFileId and inputFilePersistentId may be unsupported |