Layer 227
PaymentsGetStarGiftUpgradeAttributes
Obtains the full list of just the collectible attributes that may appear for a gift type once it's upgraded to a collectible gift.
method
Users
payments.getStarGiftUpgradeAttributes#6d038b58 gift_id:long = payments.StarGiftUpgradeAttributes;
Parameters
| Name | Type | Description |
|---|---|---|
| GiftId | long | Non-collectible base gift ID, from star Gift. id |
Gogram Example
// PaymentsGetStarGiftUpgradeAttributes - positional arguments result, err := client.PaymentsGetStarGiftUpgradeAttributes(int64(1234567890)) if err != nil { // handle error } // result is *tg.PaymentsStarGiftUpgradeAttributes
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | STARGIFT_INVALID | The passed gift is invalid. |