starGift

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

starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
limited flags.0?true Whether this is a limited-supply gift.
sold_out flags.1?true Whether this gift sold out and cannot be bought anymore.
birthday flags.2?true  
id long Identifier of the gift
sticker Document Sticker that represents the gift.
stars long Price of the gift in Telegram Stars.
availability_remains flags.0?int For limited-supply gifts: the remaining number of gifts that may be bought.
availability_total flags.0?int For limited-supply gifts: the total number of gifts that was available in the initial supply.
convert_stars long The receiver of this gift may convert it to this many Telegram Stars, instead of displaying it on their profile page.
convert_stars will be equal to stars only if the gift was bought using recently bought Telegram Stars, otherwise it will be less than stars.
first_sale_date flags.1?int For sold out gifts only: when was the gift first bought.
last_sale_date flags.1?int For sold out gifts only: when was the gift last bought.

Type

StarGift

Related pages

Stickers

Telegram clients support displaying static and animated stickers.

Telegram Stars

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.

Telegram Gifts

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.