обновление меню по команде /start
This commit is contained in:
parent
7f4d0a416a
commit
8fc2d7296d
@ -808,11 +808,6 @@ class Program
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static async Task SendMainMenu(ITelegramBotClient botClient, long chatId)
|
private static async Task SendMainMenu(ITelegramBotClient botClient, long chatId)
|
||||||
{
|
{
|
||||||
var keyboard = new InlineKeyboardMarkup(new[]
|
var keyboard = new InlineKeyboardMarkup(new[]
|
||||||
@ -820,10 +815,10 @@ class Program
|
|||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
InlineKeyboardButton.WithCallbackData("📝 Подать заявку", "report"),
|
InlineKeyboardButton.WithCallbackData("📝 Подать заявку", "report"),
|
||||||
|
InlineKeyboardButton.WithCallbackData("⚙️ Настройки", "user_settings")
|
||||||
},
|
},
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
InlineKeyboardButton.WithCallbackData("⚙️ Настройки", "user_settings"),
|
|
||||||
InlineKeyboardButton.WithCallbackData("🔐 Панель администратора", "admin_panel")
|
InlineKeyboardButton.WithCallbackData("🔐 Панель администратора", "admin_panel")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -835,8 +830,6 @@ 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