Class: TD::Types::StarRevenueStatistics
- Defined in:
- lib/tdlib/types/star_revenue_statistics.rb
Overview
A detailed statistics about Telegram Stars earned by a bot or a chat.
Instance Attribute Summary collapse
-
#revenue_by_day_graph ⇒ TD::Types::StatisticalGraph
A graph containing amount of revenue in a given day.
-
#status ⇒ TD::Types::StarRevenueStatus
Telegram Star revenue status.
-
#usd_rate ⇒ Float
Current conversion rate of a Telegram Star to USD.
Method Summary
Methods inherited from Base
Instance Attribute Details
#revenue_by_day_graph ⇒ TD::Types::StatisticalGraph
A graph containing amount of revenue in a given day.
7 8 9 |
# File 'lib/tdlib/types/star_revenue_statistics.rb', line 7 def revenue_by_day_graph @revenue_by_day_graph end |
#status ⇒ TD::Types::StarRevenueStatus
Telegram Star revenue status.
7 8 9 |
# File 'lib/tdlib/types/star_revenue_statistics.rb', line 7 def status @status end |
#usd_rate ⇒ Float
Current conversion rate of a Telegram Star to USD.
7 8 9 |
# File 'lib/tdlib/types/star_revenue_statistics.rb', line 7 def usd_rate @usd_rate end |