MadelineProto/docs/TD_docs/methods/setProfilePhoto.md
2017-08-25 15:05:53 +02:00

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

Back to methods index

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

Return type: Ok