Class: TD::Types::ChatRevenueStatistics
- Defined in:
- lib/tdlib/types/chat_revenue_statistics.rb
Overview
A detailed statistics about revenue earned from sponsored messages in a chat.
Instance Attribute Summary collapse
-
#revenue_amount ⇒ TD::Types::ChatRevenueAmount
Amount of earned revenue.
-
#revenue_by_hour_graph ⇒ TD::Types::StatisticalGraph
A graph containing amount of revenue in a given hour.
-
#revenue_graph ⇒ TD::Types::StatisticalGraph
A graph containing amount of revenue.
-
#usd_rate ⇒ Float
Current conversion rate of the cryptocurrency in which revenue is calculated to USD.
Method Summary
Methods inherited from Base
Instance Attribute Details
#revenue_amount ⇒ TD::Types::ChatRevenueAmount
Amount of earned revenue.
8 9 10 |
# File 'lib/tdlib/types/chat_revenue_statistics.rb', line 8 def revenue_amount @revenue_amount end |
#revenue_by_hour_graph ⇒ TD::Types::StatisticalGraph
A graph containing amount of revenue in a given hour.
8 9 10 |
# File 'lib/tdlib/types/chat_revenue_statistics.rb', line 8 def revenue_by_hour_graph @revenue_by_hour_graph end |
#revenue_graph ⇒ TD::Types::StatisticalGraph
A graph containing amount of revenue.
8 9 10 |
# File 'lib/tdlib/types/chat_revenue_statistics.rb', line 8 def revenue_graph @revenue_graph end |
#usd_rate ⇒ Float
Current conversion rate of the cryptocurrency in which revenue is calculated to USD.
8 9 10 |
# File 'lib/tdlib/types/chat_revenue_statistics.rb', line 8 def usd_rate @usd_rate end |