# Task 5: Deliver Telegram-native app, bot, and wallet experience

Status: pending  
Priority: high  
Source PRD: `.taskmaster/docs/prd-telegram-native-app-bot-wallet.md`

Create a Telegram bot plus Mini App surface so users can complete Amanat buyer, seller, escrow, chat, dispute, payment, release/refund, and support workflows from inside Telegram.

This is a separate product delivery track from platform hardening and Request Network migration. Identity, bot navigation, Mini App shell, and notifications can start behind feature flags. Wallet/payment crediting and release/refund actions must use canonical backend authorization, provider adapter, funds ledger, escrow state machine, idempotency, and dispute holds.

Subtasks:

1. Define Telegram product surface and flow map.
2. Build Telegram identity linking and session model.
3. Implement bot command and notification foundation.
4. Build Telegram Mini App shell for marketplace workflows.
5. Add Telegram payment and wallet strategy.
6. Expose escrow, delivery, dispute, and release actions safely.
7. Add admin and support surface for Telegram-originated cases.
8. Add security, compliance, and abuse controls for Telegram.
9. Prepare QA, rollout, analytics, and launch operations.
10. Implement Telegram as first-class authentication provider. ✅ Done 2026-05-24.
