コード例 #1
0
 /// <summary>
 /// Share a remote file into a channel.
 /// </summary>
 public Task <FileObjectResponse> ShareAsync(RemoteFileToShare remoteFileToShare)
 => SendPostFormUrlEncodedAsync <RemoteFileToShare, FileObjectResponse>("share", remoteFileToShare);
コード例 #2
0
ファイル: SlackClient.cs プロジェクト: Fuse8/SlackBot.Api
 /// <inheritdoc cref="FilesRemoteClient.ShareAsync(RemoteFileToShare)"/>
 public Task <FileObjectResponse> ShareRemoteFileAsync(RemoteFileToShare remoteFileToShare)
 => FilesRemote.ShareAsync(remoteFileToShare);