Layer 220
method Users
payments.updateStarGiftPrice#edbe6ccb stargift:InputSavedStarGift resell_amount:StarsAmount = Updates;

Parameters

Name Type Description
Stargift InputSavedStarGift The gift to resell.
ResellAmount StarsAmount Resale price of the gift.

Returns

Updates

Possible Errors

Code Type Description
400 SAVED_ID_EMPTY The passed input Saved Star Gift Chat. saved_id is empty.
400 STARGIFT_NOT_FOUND The specified gift was not found.

Gogram Example

// PaymentsUpdateStarGiftPrice - positional arguments
result, err := client.PaymentsUpdateStarGiftPrice(&tg.InputSavedStarGift{}, &tg.StarsAmount{})
if err != nil {
    // handle error
}
// result is *tg.Updates