StarGiftUnique#

class pyrogram.raw.types.StarGiftUnique#

Represents a collectible star gift, see here for more info.

Constructor of StarGift.

Details:
  • Layer: 214

  • ID: 1BEFE865

Parameters:
  • id (int 64-bit) – Identifier of the collectible gift.

  • gift_id (int 64-bit) – N/A

  • title (str) – Collectible title.

  • slug (str) – Slug that can be used to create a collectible gift deep link », or elsewhere in the API where a collectible slug is accepted.

  • num (int 32-bit) – Unique identifier of this collectible gift among all (already upgraded) collectible gifts of the same type.

  • attributes (List of StarGiftAttribute) – Collectible attributes

  • availability_issued (int 32-bit) – Total number of gifts of the same type that were upgraded to a collectible gift.

  • availability_total (int 32-bit) – Total number of gifts of the same type that can be upgraded or were already upgraded to a collectible gift.

  • require_premium (bool, optional) – N/A

  • resale_ton_only (bool, optional) – N/A

  • theme_available (bool, optional) – N/A

  • owner_id (Peer, optional) – The owner of the gift.

  • owner_name (str, optional) – The name of the owner if neither owner_id nor owner_address are set.

  • owner_address (str, optional) – For NFTs on the TON blockchain, contains the address of the owner (append it to the ton_blockchain_explorer_url client configuration value » to obtain a link with information about the address).

  • gift_address (str, optional) – For NFTs on the TON blockchain, contains the address of the NFT (append it to the ton_blockchain_explorer_url client configuration value » to obtain a link with information about the address).

  • resell_amount (List of StarsAmount, optional) – N/A

  • released_by (Peer, optional) – This gift was released by the specified peer.

  • value_amount (int 64-bit, optional) – N/A

  • value_currency (str, optional) – N/A

  • theme_peer (Peer, optional) – N/A