telegram api constructor · layer 229 · #6ebdff91

fragment.collectibleInfo

Info about a fragment collectible.

definition

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

parameters

nametypedescription
purchase_dateintPurchase date (unixtime)
currencystringThree-letter ISO 4217 currency code for amount
amountlongTotal 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).
crypto_currencystringCryptocurrency name.
crypto_amountlongPrice, in the smallest units of the cryptocurrency.
urlstringFragment URL with more info about the collectible

type

fragment.CollectibleInfo

history

present in layers 177–229

idlayers
#6ebdff91177–229