Layer 224
constructor
starGiftAttributeBackdrop#9f2504e4 name:string backdrop_id:int center_color:int edge_color:int pattern_color:int text_color:int rarity:StarGiftAttributeRarity = 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.
Rarity StarGiftAttributeRarity

Gogram Example

// Creating StarGiftAttributeBackdrop constructor
obj := &tg.StarGiftAttributeBackdrop{
    Name: "Hello, World!",
    BackdropId: 42,
    CenterColor: 42,
    EdgeColor: 42,
    PatternColor: 42,
    TextColor: 42,
    // ... more required fields
}