Доработан адаптер телеграма
All checks were successful
CI / build-test (push) Successful in 36s
Release / pack-and-publish (release) Successful in 39s

This commit is contained in:
2025-12-05 19:54:22 +03:00
parent 634a9292dc
commit 5085958219
6 changed files with 23 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ public static class TelegramUpdateMapper
/// <summary>
/// Маппинг Telegram Update в UpdateContext BotPages.
/// </summary>
public static UpdateContext Map(string MessagerType, Update update, TelegramBotClient client)
public static UpdateContext Map(string MessengerType, Update update, TelegramBotClient client)
{
var chat = update.Message?.Chat ?? update.CallbackQuery?.Message?.Chat;
var user = update.Message?.From ?? update.CallbackQuery?.From;
@@ -122,7 +122,7 @@ public static class TelegramUpdateMapper
return new UpdateContext
{
MessengerType = MessagerType,
MessengerType = MessengerType,
User = userContext,
Chat = chatContext,
Text = text,