Class: TD::Types::StorePaymentPurpose::PremiumSubscription
- Inherits:
-
TD::Types::StorePaymentPurpose
- Object
- Dry::Struct
- Base
- TD::Types::StorePaymentPurpose
- TD::Types::StorePaymentPurpose::PremiumSubscription
- Defined in:
- lib/tdlib/types/store_payment_purpose/premium_subscription.rb
Overview
The user subscribing to Telegram Premium.
Instance Attribute Summary collapse
-
#is_restore ⇒ Boolean
Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
-
#is_upgrade ⇒ Boolean
Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_restore ⇒ Boolean
Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
7 8 9 |
# File 'lib/tdlib/types/store_payment_purpose/premium_subscription.rb', line 7 def is_restore @is_restore end |
#is_upgrade ⇒ Boolean
Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store.
7 8 9 |
# File 'lib/tdlib/types/store_payment_purpose/premium_subscription.rb', line 7 def is_upgrade @is_upgrade end |