- small change
This commit is contained in:
parent
3c21af8f68
commit
1d44b50883
@ -61,13 +61,7 @@ namespace TelegramBotBase.Form
|
|||||||
/// <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