Layer 227
constructor
inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;

Parameters

Name Type Description
Restore flags .0? true Pass true if this is a restore of a Telegram Premium purchase; only for the App Store
Upgrade flags .1? true Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for App Store

Gogram Example

// Creating InputStorePaymentPremiumSubscription constructor
obj := &tg.InputStorePaymentPremiumSubscription{
    Restore: nil,
    Upgrade: nil,
}