Skip to main content

inputStorePaymentPremiumSubscription

Info about a Telegram Premium purchase

type tg.InputStorePaymentPremiumSubscription struct { /* ... */ }

Implements InputStorePaymentPurpose.

Fields​

NameTypeRequiredDescription
Restorebool—Pass true if this is a restore of a Telegram Premium purchase; only for the App Store
Upgradebool—Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for App Store

References​