Exemple #1
0
 /// <summary>
 /// Share a remote file into a channel.
 /// </summary>
 public Task <FileObjectResponse> ShareAsync(RemoteFileToShare remoteFileToShare)
 => SendPostFormUrlEncodedAsync <RemoteFileToShare, FileObjectResponse>("share", remoteFileToShare);
Exemple #2
0
 /// <inheritdoc cref="FilesRemoteClient.ShareAsync(RemoteFileToShare)"/>
 public Task <FileObjectResponse> ShareRemoteFileAsync(RemoteFileToShare remoteFileToShare)
 => FilesRemote.ShareAsync(remoteFileToShare);