Skip to main content

payments.starGiftUpgradePreview

A preview of the possible attributes (chosen randomly) a gift » can receive after upgrading it to a collectible gift », see here » for more info.

type tg.PaymentsStarGiftUpgradePreview struct { /* ... */ }

Fields

NameTypeRequiredDescription
SampleAttributes[]StarGiftAttributeClassyesPossible gift attributes
Prices[]StarGiftUpgradePriceyesContains a similar list of upgrade prices and timestamps, not as granular as in next_prices (i.e. prices are approximately 1 month apart), to be used mainly to scale the price graph, and to show a more general future overview of the upgrade price.
NextPrices[]StarGiftUpgradePriceyesContains the current upgrade price and a list of future prices, each associated to a UNIX timestamp that indicates when the price comes in effect (the current price is valid only until the next one comes into effect, and so on for all prices in the list).

Returned by

References