фикс уведов
This commit is contained in:
parent
646f520d61
commit
9d810d868e
@ -479,9 +479,10 @@ class Program
|
||||
}
|
||||
else if (data != null && data.StartsWith("notifications_toggle_"))
|
||||
{
|
||||
string action = data.Substring(18); // "on" или "off"
|
||||
string action = data.Substring("notifications_toggle_".Length); // "on" или "off"
|
||||
await ToggleNotifications(botClient, chatId, action);
|
||||
}
|
||||
|
||||
else if (data != null && data.StartsWith("priority_"))
|
||||
{
|
||||
string priority = data.Substring(9);
|
||||
@ -810,6 +811,7 @@ class Program
|
||||
|
||||
|
||||
|
||||
|
||||
private static async Task SendMainMenu(ITelegramBotClient botClient, long chatId)
|
||||
{
|
||||
var keyboard = new InlineKeyboardMarkup(new[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user