Class: TD::Types::PremiumState
- Defined in:
- lib/tdlib/types/premium_state.rb
Overview
Contains state of Telegram Premium subscription and promotion videos for Premium features.
Instance Attribute Summary collapse
-
#animations ⇒ Array<TD::Types::PremiumFeaturePromotionAnimation>
The list of available promotion animations for Premium features.
-
#business_animations ⇒ Array<TD::Types::BusinessFeaturePromotionAnimation>
The list of available promotion animations for Business features.
-
#payment_options ⇒ Array<TD::Types::PremiumStatePaymentOption>
The list of available options for buying Telegram Premium.
-
#state ⇒ TD::Types::FormattedText?
Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.
Method Summary
Methods inherited from Base
Instance Attribute Details
#animations ⇒ Array<TD::Types::PremiumFeaturePromotionAnimation>
The list of available promotion animations for Premium features.
12 13 14 |
# File 'lib/tdlib/types/premium_state.rb', line 12 def animations @animations end |
#business_animations ⇒ Array<TD::Types::BusinessFeaturePromotionAnimation>
The list of available promotion animations for Business features.
12 13 14 |
# File 'lib/tdlib/types/premium_state.rb', line 12 def business_animations @business_animations end |
#payment_options ⇒ Array<TD::Types::PremiumStatePaymentOption>
The list of available options for buying Telegram Premium.
12 13 14 |
# File 'lib/tdlib/types/premium_state.rb', line 12 def @payment_options end |
#state ⇒ TD::Types::FormattedText?
Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.
12 13 14 |
# File 'lib/tdlib/types/premium_state.rb', line 12 def state @state end |