Layer 227
PaymentsGetCraftStarGifts
Obtain owned collectible gifts of a specific type that can be used for crafting.
method
Users
payments.getCraftStarGifts#fd05dd00 gift_id:long offset:string limit:int = payments.SavedStarGifts;
Parameters
| Name | Type | Description |
|---|---|---|
| GiftId | long | Identifier of the base gift type, equal to star Gift Unique. gift_id of the first selected gift. |
| Offset | string | Offset for pagination. |
| Limit | int | Maximum number of results to return, see pagination |
Returns
payments.SavedStarGiftsGogram Example
// PaymentsGetCraftStarGifts - positional arguments result, err := client.PaymentsGetCraftStarGifts(int64(1234567890), "Hello, World!", 42) if err != nil { // handle error } // result is *tg.PaymentsSavedStarGifts
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | STARGIFT_INVALID | The passed gift is invalid. |