StarGiftUnique

class pyrogram.types.StarGiftUnique

A unique/collectible star gift.

Parameters:
  • id (int) – Unique identifier of the collectible gift.

  • gift_id (int) – Unique ID of the base gift type.

  • title (str) – Collectible title.

  • slug (str) – Slug for creating deep links.

  • num (int) – Unique number among all collectibles of the same type.

  • availability_issued (int) – Number of gifts of this type upgraded to collectible.

  • availability_total (int) – Total number that can be upgraded.

  • require_premium (bool, optional) – Whether only Premium users can buy this.

  • burned (bool, optional) – Whether this gift has been burned.

  • crafted (bool, optional) – Whether this gift was crafted.

  • owner_id (int, optional) – User ID of the owner.

  • owner_name (str, optional) – Name of the owner if ID is not available.

  • owner_address (str, optional) – TON blockchain address of the owner.

  • gift_address (str, optional) – TON blockchain address of the NFT.