telegram api method · layer 229 · #d06e93a8

payments.getStarGiftWithdrawalUrl

usable by users

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

definition

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 ».

returns

payments.StarGiftWithdrawalUrl

errors (5)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
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.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 198–229

idlayers
#d06e93a8198–229