telegram api constructor · layer 229 · #a6751e66
inputStorePaymentPremiumSubscription
Info about a Telegram Premium purchase
definition
inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
restore | true | Pass true if this is a restore of a Telegram Premium purchase; only for the App Store |
upgrade | true | Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for App Store |
type
InputStorePaymentPurpose · other constructors: inputStorePaymentGiftPremium, inputStorePaymentPremiumGiftCode, inputStorePaymentPremiumGiveaway, inputStorePaymentStarsTopup, inputStorePaymentStarsGift, inputStorePaymentStarsGiveaway, inputStorePaymentAuthCode
history
present in layers 144–229
| id | layers |
|---|---|
| #a6751e66 | 144–229 |