MadelineProto/docs/TD_docs/methods/setProfilePhoto.md
2018-03-27 14:41:50 +02:00

634 B

title description
setProfilePhoto Uploads new profile photo for logged in user. 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. If something changes, updateUser will be sent

Parameters:

Name Type Required Description
photo InputFile Yes Profile photo to set. inputFileId and inputFilePersistentId may be unsupported

Return type: Ok