payments.getStarGiftWithdrawalUrl #

Convert a collectible gift » to an NFT on the TON blockchain.

Layer 223

payments.starGiftWithdrawalUrl#84aa3a9c url:string = payments.StarGiftWithdrawalUrl;
---functions---
payments.getStarGiftWithdrawalUrl#d06e93a8 stargift:InputSavedStarGift password:InputCheckPasswordSRP = payments.StarGiftWithdrawalUrl;

Parameters #

NameTypeDescription
stargiftInputSavedStarGiftThe collectible gift to export.
passwordInputCheckPasswordSRPThe current user's 2FA password, passed as specified here ».

Result #

payments.StarGiftWithdrawalUrl

Only users can use this method #

Possible errors #

CodeTypeDescription
400PASSWORD_HASH_INVALIDThe provided password hash is invalid.
400PASSWORD_TOO_FRESH_%dThe password was modified less than 24 hours ago, try again in %d seconds.
400SESSION_TOO_FRESH_%dThis session was created less than 24 hours ago, try again in %d seconds.

Two-factor authentication #

How to login to a user's account if they have enabled 2FA, how to change password.

Telegram Gifts #

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.