Class: TD::Types::StarSubscriptionPricing
- Defined in:
- lib/tdlib/types/star_subscription_pricing.rb
Overview
Describes subscription plan paid in Telegram Stars.
Instance Attribute Summary collapse
-
#period ⇒ Integer
The number of seconds between consecutive Telegram Star debiting.
-
#star_count ⇒ Integer
The amount of Telegram Stars that must be paid for each period.
Method Summary
Methods inherited from Base
Instance Attribute Details
#period ⇒ Integer
The number of seconds between consecutive Telegram Star debiting.
6 7 8 |
# File 'lib/tdlib/types/star_subscription_pricing.rb', line 6 def period @period end |
#star_count ⇒ Integer
The amount of Telegram Stars that must be paid for each period.
6 7 8 |
# File 'lib/tdlib/types/star_subscription_pricing.rb', line 6 def star_count @star_count end |