InputStorePaymentPremiumSubscription
- class pyrogram.raw.types.InputStorePaymentPremiumSubscription
Info about a Telegram Premium purchase
Constructor of
InputStorePaymentPurpose.- Details:
Layer:
223ID:
A6751E66
- Parameters:
restore (
bool, optional) – Pass true if this is a restore of a Telegram Premium purchase; only for the App Storeupgrade (
bool, optional) – Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for App Store
TL Schema
inputStorePaymentPremiumSubscription#a6751e66
flags:#
restore:flags.0?true
upgrade:flags.1?true
= InputStorePaymentPurpose
Parameter Tree
InputStorePaymentPremiumSubscription
├── restore →
true (optional)└── upgrade →
true (optional)Example
InputStorePaymentPremiumSubscription(
)