Доработаны паттерны команд
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user