inputStorePaymentPremiumSubscription

Info about a Telegram Premium purchase

Constructor schema is available as of layer 144. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
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

Type

InputStorePaymentPurpose