예제 #1
0
 /// <summary>
 /// Closes a direct message or multi-person direct message.
 /// </summary>
 public Task <ClosedConversationResponse> CloseAsync(ConversationToClose conversationToClose)
 => SendPostFormUrlEncodedAsync <ConversationToClose, ClosedConversationResponse>("close", conversationToClose);
예제 #2
0
 /// <inheritdoc cref="ConversationsClient.CloseAsync(ConversationToClose)"/>
 public Task <ClosedConversationResponse> CloseConversationAsync(ConversationToClose conversationToClose)
 => Conversations.CloseAsync(conversationToClose);