starGiftAttributeModel
The model of a collectible gift ».
type tg.StarGiftAttributeModel struct { /* ... */ }
Implements StarGiftAttribute.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Crafted | bool | — | This model is reserved for crafting », and should be filtered out from regular upgrade previews. |
Name | string | yes | Name of the model |
Document | DocumentClass | yes | The sticker representing the upgraded gift |
Rarity | StarGiftAttributeRarityClass | yes | Rarity of this model. |
References
- Official documentation
- Generated Go reference
- TL definition:
starGiftAttributeModel#565251e2