diff --git a/TelegramBotBase/Form/ButtonBase.cs b/TelegramBotBase/Form/ButtonBase.cs index 303a9d1..26e656c 100644 --- a/TelegramBotBase/Form/ButtonBase.cs +++ b/TelegramBotBase/Form/ButtonBase.cs @@ -31,6 +31,11 @@ namespace TelegramBotBase.Form } + /// + /// Returns an inline Button + /// + /// + /// public InlineKeyboardButton ToInlineButton(ButtonForm form) { String id = (form.DependencyControl != null ? form.DependencyControl.ControlID + "_" : ""); @@ -48,9 +53,14 @@ namespace TelegramBotBase.Form } + + /// + /// Returns a KeyBoardButton + /// + /// + /// public KeyboardButton ToKeyboardButton(ButtonForm form) { - //String id = (form.DependencyControl != null ? form.DependencyControl.ControlID + "_" : ""); if (this.Url == null) { return new KeyboardButton(this.Text);