добавление эмоджи при /start
This commit is contained in:
parent
123f52e912
commit
7864b1ae30
@ -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[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user