Layer 227
PaymentsCraftStarGift
Craft a new collectible gift by combining 1 to 4 owned collectible gifts of the same base gift type.
method
Users
payments.craftStarGift#b0f9684f stargift:Vector<InputSavedStarGift> = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Stargift | Vector < InputSavedStarGift > | 1 to 4 owned collectible gifts of the same type to use for crafting. The first gift's ID is reused if crafting succeeds. |
Returns
UpdatesGogram Example
// PaymentsCraftStarGift - positional arguments result, err := client.PaymentsCraftStarGift(&tg.VectorInputSavedStarGift{}) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | SAVED_ID_EMPTY | The passed input Saved Star Gift Chat. saved_id is empty. |