From 1d44b508831589cb7931fd23a03389e32e1e35e8 Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Thu, 26 Sep 2019 20:57:51 +0200 Subject: [PATCH] - small change --- TelegramBotBase/Form/ButtonBase.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/TelegramBotBase/Form/ButtonBase.cs b/TelegramBotBase/Form/ButtonBase.cs index 26e656c..0bb9496 100644 --- a/TelegramBotBase/Form/ButtonBase.cs +++ b/TelegramBotBase/Form/ButtonBase.cs @@ -61,13 +61,7 @@ namespace TelegramBotBase.Form /// public KeyboardButton ToKeyboardButton(ButtonForm form) { - if (this.Url == null) - { - return new KeyboardButton(this.Text); - } - return new KeyboardButton(this.Text); - } }