public abstract NPromise<string> UploadFileAsync( System.string folderId, System.string fileName, System.string mimeType, System.byte[] fileData )
Parameters
- folderId
- The ID of the folder where the file should be uploaded.
- fileName
- The name of the file to be uploaded.
- mimeType
- The MIME type of the file.
- fileData
- The file contents as a byte array.
Return Value
The file ID if successful.