Represents a collectible star gift, see here » for more info.
starGiftUnique#f63778ae flags:# id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int gift_address:flags.3?string resell_stars:flags.4?long released_by:flags.5?Peer = StarGift;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
id | long | Identifier of the collectible gift. |
title | string | Collectible title. |
slug | string | 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 | Unique identifier of this collectible gift among all (already upgraded) collectible gifts of the same type. |
owner_id | flags.0?Peer | The owner of the gift. |
owner_name | flags.1?string | The name of the owner if neither owner_id nor owner_address are set. |
owner_address | flags.2?string | 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). |
attributes | Vector<StarGiftAttribute> | Collectible attributes |
availability_issued | int | Total number of gifts of the same type that were upgraded to a collectible gift. |
availability_total | int | Total number of gifts of the same type that can be upgraded or were already upgraded to a collectible gift. |
gift_address | flags.3?string | 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_stars | flags.4?long | The number of stars the user has to pay in order to put the gift up for sale on the marketplace ». |
released_by | flags.5?Peer | This gift was released by the specified peer. |
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.