Skip to main content

payments.uniqueStarGiftValueInfo

Information about the value of a collectible gift ».

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

Fields​

NameTypeRequiredDescription
LastSaleOnFragmentbool—If set, the last sale was completed on Fragment.
ValueIsAveragebool—If set, the value is calculated from the average value of sold gifts of the same type. Otherwise, it is based on the sale price of the gift.
CurrencystringyesThree-letter ISO 4217 currency code (a localized fiat currency used to represent prices and price estimations in this constructor).
Valueint64yesEstimated value of the gift, in the smallest unit of the currency specified in currency.
InitialSaleDateintyesInitial purchase date of the gift.
InitialSaleStarsint64yesInitial purchase price in Stars.
InitialSalePriceint64yesInitial purchase price in the smallest unit of the currency specified in currency (automatically converted from initial_sale_stars).
LastSaleDateint—Last resale date of the gift.
LastSalePriceint64—Last resale price, in the smallest unit of the currency specified in currency.
FloorPriceint64—The current minimum price of collectible gifts of the same type, in the smallest unit of the currency specified in currency.
AveragePriceint64—The current average sale price of collectible gifts of the same type, in the smallest unit of the currency specified in currency.
ListedCountint—Number of gifts of the same type currently being resold on Telegram.
FragmentListedCountint—Number of gifts of the same type currently being resold on fragment.
FragmentListedURLstring—Fragment link to the listing of gifts of the same type currently being resold on fragment.

Returned by​

References​