Layer 220
constructor
fragment.collectibleInfo#6ebdff91 purchase_date:int currency:string amount:long crypto_currency:string crypto_amount:long url:string = fragment.CollectibleInfo;

Parameters

Name Type Description
PurchaseDate int Purchase date (unixtime)
Currency string Three-letter ISO 4217 currency code for amount
Amount long 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 Cryptocurrency name.
CryptoAmount long Price, in the smallest units of the cryptocurrency.
Url string Fragment URL with more info about the collectible

Gogram Example

// Creating FragmentCollectibleInfo constructor
obj := &tg.FragmentCollectibleInfo{
    PurchaseDate: 0,
    Currency: "...",
    Amount: int64(0),
    CryptoCurrency: "...",
    CryptoAmount: int64(0),
    Url: "...",
}