diff --git a/src/pages/GiftResult.tsx b/src/pages/GiftResult.tsx index 44c9126..401765c 100644 --- a/src/pages/GiftResult.tsx +++ b/src/pages/GiftResult.tsx @@ -55,7 +55,7 @@ function CodeOnlySuccessState({ const shortCode = purchaseToken.slice(0, 12); const giftCode = `GIFT-${shortCode}`; const botUsername = import.meta.env.VITE_TELEGRAM_BOT_USERNAME as string | undefined; - const botLink = botUsername ? `https://t.me/${botUsername}?start=GIFTCODE_${shortCode}` : null; + const botLink = botUsername ? `https://t.me/${botUsername}?start=GIFT_${shortCode}` : null; const cabinetLink = `${window.location.origin}/gift?tab=activate&code=${shortCode}`; const fullMessage = [ diff --git a/src/pages/GiftSubscription.tsx b/src/pages/GiftSubscription.tsx index 12c9121..be3d6fe 100644 --- a/src/pages/GiftSubscription.tsx +++ b/src/pages/GiftSubscription.tsx @@ -988,7 +988,7 @@ function ShareModal({ gift, onClose }: { gift: SentGift; onClose: () => void }) const shortCode = gift.token.slice(0, 12); const botUsername = import.meta.env.VITE_TELEGRAM_BOT_USERNAME as string | undefined; - const botLink = botUsername ? `https://t.me/${botUsername}?start=GIFTCODE_${shortCode}` : null; + const botLink = botUsername ? `https://t.me/${botUsername}?start=GIFT_${shortCode}` : null; const cabinetLink = `${window.location.origin}/gift?tab=activate&code=${shortCode}`; const fullMessage = [