пробуем
This commit is contained in:
parent
749e808be5
commit
123f52e912
@ -607,6 +607,8 @@ class Program
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static async Task ViewArchivedReports(ITelegramBotClient botClient, long chatId)
|
private static async Task ViewArchivedReports(ITelegramBotClient botClient, long chatId)
|
||||||
{
|
{
|
||||||
string connectionString = "Data Source=bot.db";
|
string connectionString = "Data Source=bot.db";
|
||||||
@ -659,6 +661,7 @@ class Program
|
|||||||
{
|
{
|
||||||
Log.Error($"Ошибка: {ex.Message}");
|
Log.Error($"Ошибка: {ex.Message}");
|
||||||
await botClient.SendMessage(chatId, "Ошибка при получении архива заявок");
|
await botClient.SendMessage(chatId, "Ошибка при получении архива заявок");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -668,6 +671,8 @@ class Program
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static async Task ShowReportDetails(ITelegramBotClient botClient, long chatId, long reportId, int messageId)
|
private static async Task ShowReportDetails(ITelegramBotClient botClient, long chatId, long reportId, int messageId)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user