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
| Name | Type | Required | Description |
|---|---|---|---|
SampleAttributes | []StarGiftAttributeClass | yes | Possible gift attributes |
Prices | []StarGiftUpgradePrice | yes | Contains 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 | []StarGiftUpgradePrice | yes | Contains 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
- Official documentation
- Generated Go reference
- TL definition:
payments.starGiftUpgradePreview#3de1dfed