lily_website

📄 Notifications Orchestrator (Telegram)

⬅️ Back 🏠 Docs Root

The NotificationsOrchestrator handles all user interactions (callbacks) related to booking notifications in the Telegram admin channel.

🛠️ Core Responsibilities

Located in: src/telegram_bot/features/telegram/notifications/logic/orchestrator.py

1. handle_action(callback_data: NotificationsCallback, call: CallbackQuery) -> UnifiedViewDTO

The main dispatcher for incoming callbacks. It maps action codes to specific handler methods.

2. _handler_approve(context: QueryContext) -> UnifiedViewDTO

3. _reject_with_reason(context: QueryContext, reason_code: str, reason_text: str) -> UnifiedViewDTO

4. handle_status_update(payload: dict[str, Any], current_text: str | None = None) -> UnifiedViewDTO | None

🧩 Integration