payments.getStarGiftWithdrawalUrl
Convert a collectible gift » to an NFT on the TON blockchain.
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Convert a collectible gift » to an NFT on the TON blockchain.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/payments.getStarGiftWithdrawalUrl" \ -H "Content-Type: application/json" \ -d '{ "params": { "stargift": { "_": "inputSavedStarGiftUser", "msgId": 0 }, "password": { "_": "inputCheckPasswordEmpty" } } }'{ "result": { "_": "payments.starGiftWithdrawalUrl", "url": "string" }}getStarGiftUpgradePreview
Obtain a preview of the possible attributes (chosen randomly) a [gift »](https://core.telegram.org/api/gifts) can receive after upgrading it to a [collectible gift »](https://core.telegram.org/api/gifts#collectible-gifts), see [here »](https://core.telegram.org/api/gifts#collectible-gifts) for more info.
getStarsGiftOptions
Obtain a list of [Telegram Stars gift options »](https://core.telegram.org/api/stars#buying-or-gifting-stars) as `RawStarsGiftOption` constructors.