фикс уведов
This commit is contained in:
parent
23394de0a6
commit
646f520d61
@ -765,10 +765,10 @@ class Program
|
||||
await connection.OpenAsync();
|
||||
var command = connection.CreateCommand();
|
||||
command.CommandText = @"
|
||||
INSERT INTO UserSettings (UserId, NotificationsEnabled)
|
||||
VALUES (@userId, @value)
|
||||
ON CONFLICT(UserId)
|
||||
DO UPDATE SET NotificationsEnabled = @value";
|
||||
INSERT INTO UserSettings (UserId, NotificationsEnabled)
|
||||
VALUES (@userId, @value)
|
||||
ON CONFLICT(UserId)
|
||||
DO UPDATE SET NotificationsEnabled = @value";
|
||||
command.Parameters.AddWithValue("@userId", chatId);
|
||||
command.Parameters.AddWithValue("@value", dbValue);
|
||||
|
||||
@ -809,6 +809,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