- small change

This commit is contained in:
FlorianDahn 2019-09-26 20:57:51 +02:00
parent 3c21af8f68
commit 1d44b50883

View File

@ -60,15 +60,9 @@ namespace TelegramBotBase.Form
/// <param name="form"></param> /// <param name="form"></param>
/// <returns></returns> /// <returns></returns>
public KeyboardButton ToKeyboardButton(ButtonForm form) public KeyboardButton ToKeyboardButton(ButtonForm form)
{
if (this.Url == null)
{ {
return new KeyboardButton(this.Text); return new KeyboardButton(this.Text);
} }
return new KeyboardButton(this.Text);
}
} }
} }