mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.0 KiB
1.0 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputStorePaymentPremiumSubscription | Info about a Telegram Premium purchase | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputStorePaymentPremiumSubscription
Info about a Telegram Premium purchase
Attributes:
Name | Type | Required | Description |
---|---|---|---|
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 |
Type: InputStorePaymentPurpose
Example:
$inputStorePaymentPremiumSubscription = ['_' => 'inputStorePaymentPremiumSubscription', 'restore' => Bool, 'upgrade' => Bool];