InputStorePaymentPremiumSubscription#

class pyrogram.raw.types.InputStorePaymentPremiumSubscription#

Info about a Telegram Premium purchase.

Constructor of InputStorePaymentPurpose.

Details:
  • Layer: 158

  • 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.