starGiftAttributeBackdrop #

The backdrop of a collectible gift ».

Layer 223

starGiftAttributeBackdrop#9f2504e4 name:string backdrop_id:int center_color:int edge_color:int pattern_color:int text_color:int rarity:StarGiftAttributeRarity = StarGiftAttribute;

Parameters #

NameTypeDescription
namestringName of the backdrop
backdrop_idintUnique ID of the backdrop
center_colorintColor of the center of the backdrop in RGB24 format.
edge_colorintColor of the edges of the backdrop in RGB24 format.
pattern_colorintColor of the starGiftAttributePattern applied on the backdrop in RGB24 format.
text_colorintColor of the text on the backdrop in RGB24 format.
rarityStarGiftAttributeRarityRarity of this backdrop.

Type #

StarGiftAttribute

starGiftAttributePattern #

A sticker applied on the backdrop of a collectible gift » using a repeating pattern.

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.