Class: TD::Types::StarRevenueStatus
- Defined in:
- lib/tdlib/types/star_revenue_status.rb
Overview
Contains information about Telegram Stars earned by a bot or a chat.
Instance Attribute Summary collapse
-
#available_count ⇒ Integer
The number of Telegram Stars that are available for withdrawal.
-
#current_count ⇒ Integer
The number of Telegram Stars that aren’t withdrawn yet.
-
#next_withdrawal_in ⇒ Integer
Time left before the next withdrawal can be started, in seconds; 0 if withdrawal can be started now.
-
#total_count ⇒ Integer
Total number of Telegram Stars earned.
-
#withdrawal_enabled ⇒ Boolean
True, if Telegram Stars can be withdrawn now or later.
Method Summary
Methods inherited from Base
Instance Attribute Details
#available_count ⇒ Integer
The number of Telegram Stars that are available for withdrawal.
10 11 12 |
# File 'lib/tdlib/types/star_revenue_status.rb', line 10 def available_count @available_count end |
#current_count ⇒ Integer
The number of Telegram Stars that aren’t withdrawn yet.
10 11 12 |
# File 'lib/tdlib/types/star_revenue_status.rb', line 10 def current_count @current_count end |
#next_withdrawal_in ⇒ Integer
Time left before the next withdrawal can be started, in seconds; 0 if withdrawal can be started now.
10 11 12 |
# File 'lib/tdlib/types/star_revenue_status.rb', line 10 def next_withdrawal_in @next_withdrawal_in end |
#total_count ⇒ Integer
Total number of Telegram Stars earned.
10 11 12 |
# File 'lib/tdlib/types/star_revenue_status.rb', line 10 def total_count @total_count end |
#withdrawal_enabled ⇒ Boolean
True, if Telegram Stars can be withdrawn now or later.
10 11 12 |
# File 'lib/tdlib/types/star_revenue_status.rb', line 10 def withdrawal_enabled @withdrawal_enabled end |