TDLib v0.0.2 TDLib.Method.SetProfilePhoto View Source

Uploads a new profile photo for the current user. If something changes, updateUser will be sent. Returns object_ptr.

NameTypeDescription
photoInputFileProfile photo to set. inputFileId and inputFileRemote may still be unsupported.

More details on telegram’s documentation.