diff --git a/TelegramBotBase/Form/ArrayPromptDialog.cs b/TelegramBotBase/Form/ArrayPromptDialog.cs index 7481563..e57aa7b 100644 --- a/TelegramBotBase/Form/ArrayPromptDialog.cs +++ b/TelegramBotBase/Form/ArrayPromptDialog.cs @@ -41,8 +41,6 @@ public class ArrayPromptDialog : FormBase public ButtonBase[][] Buttons { get; set; } - [Obsolete] public Dictionary ButtonForms { get; set; } = new(); - private static object EvButtonClicked { get; } = new(); public override async Task Action(MessageResult message) @@ -75,13 +73,6 @@ public class ArrayPromptDialog : FormBase } OnButtonClicked(new ButtonClickedEventArgs(button) { Tag = Tag }); - - var fb = ButtonForms.ContainsKey(call.Value) ? ButtonForms[call.Value] : null; - - if (fb != null) - { - await NavigateTo(fb); - } }