예제 #1
0
 /// <summary>
 /// Creates content as a file and uploads it.
 /// </summary>
 public Task <FileObjectResponse> UploadContentAsync(ContentToUpload contentToUpload)
 => SendPostMultipartFormAsync <ContentToUpload, FileObjectResponse>("upload", contentToUpload);
예제 #2
0
 /// <inheritdoc cref="FilesClient.UploadContentAsync(ContentToUpload)"/>
 public Task <FileObjectResponse> UploadContentAsync(ContentToUpload contentToUpload)
 => Files.UploadContentAsync(contentToUpload);