Layer 220
method Users
payments.getSavedStarGift#b455a106 stargift:Vector<InputSavedStarGift> = payments.SavedStarGifts;

Parameters

Name Type Description
Stargift Vector<InputSavedStarGift> List of gifts to fetch info about.

Possible Errors

Code Type Description
400 SAVED_ID_EMPTY The passed input Saved Star Gift Chat. saved_id is empty.
400 STARGIFT_SLUG_INVALID The specified gift slug is invalid.

Gogram Example

// PaymentsGetSavedStarGift - positional arguments
result, err := client.PaymentsGetSavedStarGift([]tg.InputSavedStarGift{&tg.InputSavedStarGift{}})
if err != nil {
    // handle error
}
// result is *tg.PaymentsSavedStarGifts