Skip to content

StorePaymentPurposePremiumSubscription

Type · TDLib 1.8.67 · d1085f9c

The user subscribing to Telegram Premium

StorePaymentPurposePremiumSubscription(
  is_restore: Bool,
  is_upgrade: Bool
) → StorePaymentPurpose

is_restore

Bool

Pass true if this is a restore of a Telegram Premium purchase; only for App Store

is_upgrade

Bool

Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store