Layer 227
StarGiftAttributeModel
The model of a collectible gift.
constructor
starGiftAttributeModel#565251e2 flags:# crafted:flags.0?true name:string document:Document rarity:StarGiftAttributeRarity = StarGiftAttribute;
Parameters
| Name | Type | Description |
|---|---|---|
| Crafted | flags .0? true | This model is reserved for crafting, and should be filtered out from regular upgrade previews. |
| Name | string | Name of the model |
| Document | Document | The sticker representing the upgraded gift |
| Rarity | StarGiftAttributeRarity | Rarity of this model. |
Returns
StarGiftAttributeGogram Example
// Creating StarGiftAttributeModel constructor obj := &tg.StarGiftAttributeModel{ Crafted: nil, Name: "Hello, World!", Document: &tg.Document{}, Rarity: &tg.StarGiftAttributeRarity{}, }