diff --git a/Program.cs b/Program.cs index fd6dca0..a40cdd6 100644 --- a/Program.cs +++ b/Program.cs @@ -231,6 +231,10 @@ class Program { await ViewReports(botClient, chatId); } + else if (data == "back_to_archived_list") + { + await ViewArchivedReports(botClient, chatId); + } else if (data == "main_menu") { await SendMainMenu(botClient, chatId); @@ -523,6 +527,7 @@ class Program // Добавляем кнопки навигации buttons.Add(new[] { + InlineKeyboardButton.WithCallbackData("Назад", "back_to_list"), InlineKeyboardButton.WithCallbackData("Главное меню", "main_menu") });