Layer 220
StarGiftAttributeBackdrop
The backdrop of a collectible gift.
constructor
starGiftAttributeBackdrop#d93d859c name:string backdrop_id:int center_color:int edge_color:int pattern_color:int text_color:int rarity_permille:int = StarGiftAttribute;
Parameters
| Name | Type | Description |
|---|---|---|
| Name | string | Name of the backdrop |
| BackdropId | int | Unique ID of the backdrop |
| CenterColor | int | Color of the center of the backdrop in RGB 24 format. |
| EdgeColor | int | Color of the edges of the backdrop in RGB 24 format. |
| PatternColor | int | Color of the star Gift Attribute Pattern applied on the backdrop in RGB 24 format. |
| TextColor | int | Color of the text on the backdrop in RGB 24 format. |
| RarityPermille | int | The number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded. |
Returns
StarGiftAttributeGogram Example
// Creating StarGiftAttributeBackdrop constructor obj := &tg.StarGiftAttributeBackdrop{ Name: "...", BackdropId: 0, CenterColor: 0, EdgeColor: 0, PatternColor: 0, TextColor: 0, // ... more required fields }