добавление эмоджи при /start
This commit is contained in:
parent
123f52e912
commit
7864b1ae30
@ -402,8 +402,8 @@ class Program
|
|||||||
{
|
{
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
InlineKeyboardButton.WithCallbackData("Подать заявку", "report"),
|
InlineKeyboardButton.WithCallbackData("📝 Подать заявку", "report"),
|
||||||
InlineKeyboardButton.WithCallbackData("Панель администратора", "admin_panel")
|
InlineKeyboardButton.WithCallbackData("🔐 Панель администратора", "admin_panel")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -414,6 +414,7 @@ class Program
|
|||||||
);
|
);
|
||||||
Log.Information($"Ответ на команду /start с кнопками отправлен.");
|
Log.Information($"Ответ на команду /start с кнопками отправлен.");
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (usersWaitingForReport.TryGetValue(message.Chat.Id, out bool isWaiting) && isWaiting)
|
else if (usersWaitingForReport.TryGetValue(message.Chat.Id, out bool isWaiting) && isWaiting)
|
||||||
{
|
{
|
||||||
if (userReportSteps.TryGetValue(message.Chat.Id, out int step))
|
if (userReportSteps.TryGetValue(message.Chat.Id, out int step))
|
||||||
@ -524,6 +525,7 @@ class Program
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static async Task SendAdminPanel(ITelegramBotClient botClient, long chatId)
|
private static async Task SendAdminPanel(ITelegramBotClient botClient, long chatId)
|
||||||
{
|
{
|
||||||
var keyboard = new InlineKeyboardMarkup(new[]
|
var keyboard = new InlineKeyboardMarkup(new[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user