Skip to main content

inputStorePaymentPremiumSubscription

Info about a Telegram Premium purchase

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

Implements InputStorePaymentPurpose.

Fields

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

References