InputStorePaymentPremiumSubscription

class pyrogram.raw.types.InputStorePaymentPremiumSubscription

Info about a Telegram Premium purchase

Constructor of InputStorePaymentPurpose.

Details:
  • Layer: 223

  • ID: A6751E66

Parameters:
  • restore (bool, optional) – Pass true if this is a restore of a Telegram Premium purchase; only for the App Store

  • upgrade (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
├── restoretrue (optional)
└── upgradetrue (optional)

Example

InputStorePaymentPremiumSubscription(
)