示例#1
0
 /// <summary>
 /// Adds a file from a remote service.
 /// </summary>
 public Task <FileObjectResponse> AddAsync(RemoteFile remoteFile)
 => SendPostMultipartFormAsync <RemoteFile, FileObjectResponse>("add", remoteFile);
示例#2
0
 /// <inheritdoc cref="FilesRemoteClient.AddAsync(RemoteFile)"/>
 public Task <FileObjectResponse> AddRemoteFileAsync(RemoteFile remoteFile)
 => FilesRemote.AddAsync(remoteFile);