- small change
This commit is contained in:
parent
3c21af8f68
commit
1d44b50883
@ -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);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user