diff --git a/Program.cs b/Program.cs index 07ef70f..c83a6e8 100644 --- a/Program.cs +++ b/Program.cs @@ -361,12 +361,12 @@ class Program string newText = $"Заявка #{reportId}\n\nОписание: {description}\nСтатус: {status}"; - await botClient.EditMessageText( - chatId: chatId, - messageId: messageId, - text: newText, - replyMarkup: statusButtons + await botClient.SendMessage( + chatId: chatId, + text: newText, + replyMarkup: statusButtons ); + } } } @@ -380,6 +380,7 @@ class Program + private static async Task UpdateReportStatus(long reportId, string newStatus) { try