Link Search Menu Expand Document

Constructor: inputStorePaymentPremiumSubscription

Back to constructors index

Info about a Telegram Premium purchase

Attributes:

NameTypeRequiredDescription
restoreBoolOptionalPass true if this is a restore of a Telegram Premium purchase; only for the App Store
upgradeBoolOptionalPass 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];