Example #1
0
 /// <summary>
 /// Deletes a message.
 /// </summary>
 public Task <DeletedMessageResponse> DeleteAsync(MessageToDelete messageToDelete)
 => SendPostFormUrlEncodedAsync <MessageToDelete, DeletedMessageResponse>("delete", messageToDelete);
Example #2
0
 /// <inheritdoc cref="ChatClient.DeleteAsync(MessageToDelete)"/>
 public Task <DeletedMessageResponse> DeleteMessageAsync(MessageToDelete messageToDelete)
 => Chat.DeleteAsync(messageToDelete);