List sendable star gifts
Changed onThe Telegram star gifts a star_gift campaign can send right now, with an INDICATIVE per-gift price in currency at your wholesale terms. The binding price is locked when you confirm a campaign. Sold-out and otherwise unsendable gifts are not listed. comment_max_length is the longest gift comment Telegram accepts today.
The catalog is refreshed every few minutes; when it cannot be read the call answers 503 gift_catalog_unavailable rather than a stale list. Gift campaigns are enabled per tenant on request (the route answers 404 where they are not offered, 403 for a tenant without access). currency is required: the asset is never guessed.
Request
- Base URLhttps://api.mystars.tg
- AuthAPI key in header X-Api-Key
Query parameters
The currency to price the gifts in (ton = the native coin GRAM, not USDT; usdt_ton = USDT). Required — a request without it is rejected with 400 bad_request, like every pricing route. Where USDT payments are not offered, usdt_ton answers 422 currency_not_available; the currency is checked before the catalog is read, so that 422 comes back even while the catalog would answer 503.
Response
The sendable gift catalog.
Changes
- info
endpoint added
- info