feat: add gift purchase UI states for telegram recipients

- Add recipient_in_bot and bot_link fields to PurchaseStatus API type
- Show bot link instruction when gift recipient is not in bot
- Show "gift sent via Telegram" message when recipient is in bot
- Fix duplicate text rendering in GiftPendingActivationState
- Handle recipientInBot=null edge case safely
- Add gift notification translations for ru, en, zh, fa locales
This commit is contained in:
Fringg
2026-03-07 20:33:55 +03:00
parent d8214a80e7
commit eed077b019
6 changed files with 81 additions and 3 deletions

View File

@@ -126,6 +126,8 @@ export interface PurchaseStatus {
cabinet_email: string | null;
cabinet_password: string | null;
auto_login_token: string | null;
recipient_in_bot: boolean | null;
bot_link: string | null;
}
// ============================================================