добавление эмоджи при /start

This commit is contained in:
Professional 2025-03-19 23:24:19 +07:00
parent 123f52e912
commit 7864b1ae30

View File

@ -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[]