コード例 #1
0
 /// <summary>
 /// Deletes a message.
 /// </summary>
 public Task <DeletedMessageResponse> DeleteAsync(MessageToDelete messageToDelete)
 => SendPostFormUrlEncodedAsync <MessageToDelete, DeletedMessageResponse>("delete", messageToDelete);
コード例 #2
0
ファイル: SlackClient.cs プロジェクト: Fuse8/SlackBot.Api
 /// <inheritdoc cref="ChatClient.DeleteAsync(MessageToDelete)"/>
 public Task <DeletedMessageResponse> DeleteMessageAsync(MessageToDelete messageToDelete)
 => Chat.DeleteAsync(messageToDelete);