since that function is no longer available, and was removed from the documented API a while ago.
Attach a file by drag & drop or click to upload