fragment.collectibleInfo

Info about a fragment collectible.

Constructor schema is available as of layer 177. Switch »

Parameters

Name Type Description
purchase_date 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).
crypto_currency string Cryptocurrency name.
crypto_amount long Price, in the smallest units of the cryptocurrency.
url string Fragment URL with more info about the collectible

Type

fragment.CollectibleInfo

Related pages

Bot Payments API

Collectibles

Telegram users can make it easy for others to contact them or find their public groups and channels via usernames: clients can also assign multiple Fragment » collectible usernames to accounts, supergroups and channels they own; Fragment » also allows purchasing phone number collectibles that can be used to register Telegram accounts.