Class: TD::Types::StarRevenueStatistics

Inherits:
Base
  • Object
show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#revenue_by_day_graphTD::Types::StatisticalGraph

A graph containing amount of revenue in a given day.

Returns:



7
8
9
# File 'lib/tdlib/types/star_revenue_statistics.rb', line 7

def revenue_by_day_graph
  @revenue_by_day_graph
end

#statusTD::Types::StarRevenueStatus

Telegram Star revenue status.

Returns:



7
8
9
# File 'lib/tdlib/types/star_revenue_statistics.rb', line 7

def status
  @status
end

#usd_rateFloat

Current conversion rate of a Telegram Star to USD.

Returns:

  • (Float)

    the current value of usd_rate



7
8
9
# File 'lib/tdlib/types/star_revenue_statistics.rb', line 7

def usd_rate
  @usd_rate
end