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