payments.uniqueStarGiftValueInfo
Information about the value of a collectible gift ».
type tg.PaymentsUniqueStarGiftValueInfo struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
LastSaleOnFragment | bool | — | If set, the last sale was completed on Fragment. |
ValueIsAverage | bool | — | 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. |
Currency | string | yes | Three-letter ISO 4217 currency code (a localized fiat currency used to represent prices and price estimations in this constructor). |
Value | int64 | yes | Estimated value of the gift, in the smallest unit of the currency specified in currency. |
InitialSaleDate | int | yes | Initial purchase date of the gift. |
InitialSaleStars | int64 | yes | Initial purchase price in Stars. |
InitialSalePrice | int64 | yes | Initial purchase price in the smallest unit of the currency specified in currency (automatically converted from initial_sale_stars). |
LastSaleDate | int | — | Last resale date of the gift. |
LastSalePrice | int64 | — | Last resale price, in the smallest unit of the currency specified in currency. |
FloorPrice | int64 | — | The current minimum price of collectible gifts of the same type, in the smallest unit of the currency specified in currency. |
AveragePrice | int64 | — | The current average sale price of collectible gifts of the same type, in the smallest unit of the currency specified in currency. |
ListedCount | int | — | Number of gifts of the same type currently being resold on Telegram. |
FragmentListedCount | int | — | Number of gifts of the same type currently being resold on fragment. |
FragmentListedURL | string | — | Fragment link to the listing of gifts of the same type currently being resold on fragment. |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
payments.uniqueStarGiftValueInfo#512fe446