Layer 220
PaymentsStarGiftUpgradePreview
A preview of the possible attributes (chosen randomly) a gift can receive after upgrading it to a collectible gift, see here for more info.
constructor
payments.starGiftUpgradePreview#167bd90b sample_attributes:Vector<StarGiftAttribute> = payments.StarGiftUpgradePreview;
Parameters
| Name | Type | Description |
|---|---|---|
| SampleAttributes | Vector<StarGiftAttribute> | Possible gift attributes |
Returns
payments.StarGiftUpgradePreviewGogram Example
// Creating PaymentsStarGiftUpgradePreview constructor obj := &tg.PaymentsStarGiftUpgradePreview{ SampleAttributes: []tg.StarGiftAttribute{&tg.StarGiftAttribute{}}, }