Class: TD::Types::StarSubscriptions
- Defined in:
- lib/tdlib/types/star_subscriptions.rb
Overview
Represents a list of Telegram Star subscriptions.
Instance Attribute Summary collapse
-
#next_offset ⇒ TD::Types::String
The offset for the next request.
-
#required_star_count ⇒ Integer
The number of Telegram Stars required to buy to extend subscriptions expiring soon.
-
#star_count ⇒ Integer
The amount of owned Telegram Stars.
-
#subscriptions ⇒ Array<TD::Types::StarSubscription>
List of subbscriptions for Telegram Stars.
Method Summary
Methods inherited from Base
Instance Attribute Details
#next_offset ⇒ TD::Types::String
The offset for the next request. If empty, then there are no more results.
10 11 12 |
# File 'lib/tdlib/types/star_subscriptions.rb', line 10 def next_offset @next_offset end |
#required_star_count ⇒ Integer
The number of Telegram Stars required to buy to extend subscriptions expiring soon.
10 11 12 |
# File 'lib/tdlib/types/star_subscriptions.rb', line 10 def required_star_count @required_star_count end |
#star_count ⇒ Integer
The amount of owned Telegram Stars.
10 11 12 |
# File 'lib/tdlib/types/star_subscriptions.rb', line 10 def star_count @star_count end |
#subscriptions ⇒ Array<TD::Types::StarSubscription>
List of subbscriptions for Telegram Stars.
10 11 12 |
# File 'lib/tdlib/types/star_subscriptions.rb', line 10 def subscriptions @subscriptions end |