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); - } }