inputStorePaymentPremiumSubscription
Info about a Telegram Premium purchase
type tg.InputStorePaymentPremiumSubscription struct { /* ... */ }
Implements InputStorePaymentPurpose.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Restore | bool | — | Pass true if this is a restore of a Telegram Premium purchase; only for the App Store |
Upgrade | bool | — | Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for App Store |
References
- Official documentation
- Generated Go reference
- TL definition:
inputStorePaymentPremiumSubscription#a6751e66