starGiftAttributeModel #

The model of a collectible gift ».

Layer 223

starGiftAttributeModel#565251e2 flags:# crafted:flags.0?true name:string document:Document rarity:StarGiftAttributeRarity = StarGiftAttribute;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
craftedflags.0?trueThis model is reserved for crafting », and should be filtered out from regular upgrade previews.
namestringName of the model
documentDocumentThe sticker representing the upgraded gift
rarityStarGiftAttributeRarityRarity of this model.

Type #

StarGiftAttribute

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.

Stickers and masks #

Telegram clients support displaying static and animated stickers.