diff --git a/Program.cs b/Program.cs index 159f5b2..e3bbfed 100644 --- a/Program.cs +++ b/Program.cs @@ -402,10 +402,10 @@ class Program { new[] { - InlineKeyboardButton.WithCallbackData("Подать заявку", "report"), - InlineKeyboardButton.WithCallbackData("Панель администратора", "admin_panel") + InlineKeyboardButton.WithCallbackData("📝 Подать заявку", "report"), + InlineKeyboardButton.WithCallbackData("🔐 Панель администратора", "admin_panel") } - }); + }); await botClient.SendMessage( chatId: message.Chat.Id, @@ -414,6 +414,7 @@ class Program ); Log.Information($"Ответ на команду /start с кнопками отправлен."); } + else if (usersWaitingForReport.TryGetValue(message.Chat.Id, out bool isWaiting) && isWaiting) { if (userReportSteps.TryGetValue(message.Chat.Id, out int step)) @@ -524,6 +525,7 @@ class Program } + private static async Task SendAdminPanel(ITelegramBotClient botClient, long chatId) { var keyboard = new InlineKeyboardMarkup(new[]