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

nametypedescription
flags#Flags, see TL conditional fields
restoreflags.0?truePass true if this is a restore of a Telegram Premium purchase; only for the App Store
upgradeflags.1?truePass 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

idlayers
#a6751e66144–229