TonNft

class pyrogram.types.TonNft[source]

An NFT in the TON blockchain.

Parameters:
  • address (str) – Address of the NFT.

  • index (str) – Index of the NFT among all NFTs from the collection as a decimal number.

  • name (str) – Name of the NFT.

  • description (str) – Description of the NFT.

  • collection_address (str, optional) – Address of the collection to which the NFT belongs; None if unknown.

  • attributes (List of TonNftAttribute, optional) – Attributes of the NFT.

  • gift (Gift, optional) – The unique gift corresponding to the NFT.