Доработаны паттерны команд

This commit is contained in:
2025-12-07 11:17:21 +03:00
parent 67de9e197a
commit 7556b3d638
3 changed files with 22 additions and 8 deletions

View File

@@ -66,6 +66,10 @@ public sealed class TelegramAdapter : IMessangerAdapterSetup
var mapped = TelegramUpdateMapper.Map(MessengerType, update, _client);
if (mapped is not null)
await onUpdate(mapped);
if (update.CallbackQuery is not null)
{
await _.AnswerCallbackQuery(update.CallbackQuery.Id);
}
},
errorHandler: async (_, ex, ct2) =>