fragment.collectibleInfo
Info about a fragment collectible.
type tg.FragmentCollectibleInfo struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
PurchaseDate | int | yes | Purchase date (unixtime) |
Currency | string | yes | Three-letter ISO 4217 currency code for amount |
Amount | int64 | yes | Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). |
CryptoCurrency | string | yes | Cryptocurrency name. |
CryptoAmount | int64 | yes | Price, in the smallest units of the cryptocurrency. |
URL | string | yes | Fragment URL with more info about the collectible |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
fragment.collectibleInfo#6ebdff91