Class: TD::Types::PremiumStatePaymentOption
- Defined in:
- lib/tdlib/types/premium_state_payment_option.rb
Overview
Describes an option for buying or upgrading Telegram Premium for self.
Instance Attribute Summary collapse
-
#is_current ⇒ Boolean
True, if this is the currently used Telegram Premium subscription option.
-
#is_upgrade ⇒ Boolean
True, if the payment option can be used to upgrade the existing Telegram Premium subscription.
-
#last_transaction_id ⇒ TD::Types::String
Identifier of the last in-store transaction for the currently used option.
-
#payment_option ⇒ TD::Types::PremiumPaymentOption
Information about the payment option.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_current ⇒ Boolean
True, if this is the currently used Telegram Premium subscription option.
10 11 12 |
# File 'lib/tdlib/types/premium_state_payment_option.rb', line 10 def is_current @is_current end |
#is_upgrade ⇒ Boolean
True, if the payment option can be used to upgrade the existing Telegram Premium subscription.
10 11 12 |
# File 'lib/tdlib/types/premium_state_payment_option.rb', line 10 def is_upgrade @is_upgrade end |
#last_transaction_id ⇒ TD::Types::String
Identifier of the last in-store transaction for the currently used option.
10 11 12 |
# File 'lib/tdlib/types/premium_state_payment_option.rb', line 10 def last_transaction_id @last_transaction_id end |
#payment_option ⇒ TD::Types::PremiumPaymentOption
Information about the payment option.
10 11 12 |
# File 'lib/tdlib/types/premium_state_payment_option.rb', line 10 def payment_option @payment_option end |