payments.getUniqueStarGift
Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/payments.getUniqueStarGift" \ -H "Content-Type: application/json" \ -d '{ "params": { "slug": "string" } }'{ "result": { "_": "payments.uniqueStarGift", "gift": { "_": "starGift", "limited": true, "soldOut": true, "birthday": true, "requirePremium": true, "limitedPerUser": true, "peerColorAvailable": true, "auction": true, "id": "string", "sticker": { "_": "documentEmpty", "id": "string" }, "stars": "string", "availabilityRemains": 0, "availabilityTotal": 0, "availabilityResale": "string", "convertStars": "string", "firstSaleDate": 0, "lastSaleDate": 0, "upgradeStars": "string", "resellMinStars": "string", "title": "string", "releasedBy": { "_": "peerUser", "userId": 0 }, "perUserTotal": 0, "perUserRemains": 0, "lockedUntilDate": 0, "auctionSlug": "string", "giftsPerRound": 0, "auctionStartDate": 0, "upgradeVariants": 0, "background": { "_": "starGiftBackground", "centerColor": 0, "edgeColor": 0, "textColor": 0 } }, "chats": [ { "_": "chatEmpty", "id": 0 } ], "users": [ { "_": "userEmpty", "id": 0 } ] }}getSuggestedStarRefBots
Obtain a list of suggested [mini apps](https://core.telegram.org/api/bots/webapps) with available [affiliate programs](https://core.telegram.org/api/bots/referrals) order_by_revenue and order_by_date are mutually exclusive: if neither is set, results are sorted by profitability.
getUniqueStarGiftValueInfo
Get information about the value of a [collectible gift »](https://core.telegram.org/api/gifts#collectible-gifts).