We don't really use the type argument and it also does not work correctly.
Attach a file by drag & drop or click to upload