fragment.CollectibleInfo#

class pyrogram.raw.types.fragment.CollectibleInfo#

Info about a fragment collectible.

Constructor of CollectibleInfo.

Details:
  • Layer: 187

  • ID: 6EBDFF91

Parameters:
  • purchase_date (int 32-bit) – Purchase date (unixtime)

  • currency (str) – Three-letter ISO 4217 currency code for amount

  • amount (int 64-bit) – 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 (str) – Cryptocurrency name.

  • crypto_amount (int 64-bit) – Price, in the smallest units of the cryptocurrency.

  • url (str) – Fragment URL with more info about the collectible

Functions:

This object can be returned by 1 function.

fragment.GetCollectibleInfo

Fetch information about a fragment collectible, see here » for more info on the full flow.