Class: TD::Types::ChatRevenueAmount
- Defined in:
- lib/tdlib/types/chat_revenue_amount.rb
Overview
Contains information about revenue earned from sponsored messages in a chat.
Instance Attribute Summary collapse
-
#available_amount ⇒ Integer
Amount of the cryptocurrency available for withdrawal, in the smallest units of the cryptocurrency.
-
#balance_amount ⇒ Integer
Amount of the cryptocurrency that isn’t withdrawn yet, in the smallest units of the cryptocurrency.
-
#cryptocurrency ⇒ TD::Types::String
Cryptocurrency in which revenue is calculated.
-
#total_amount ⇒ Integer
Total amount of the cryptocurrency earned, in the smallest units of the cryptocurrency.
Method Summary
Methods inherited from Base
Instance Attribute Details
#available_amount ⇒ Integer
Amount of the cryptocurrency available for withdrawal, in the smallest units of the cryptocurrency.
11 12 13 |
# File 'lib/tdlib/types/chat_revenue_amount.rb', line 11 def available_amount @available_amount end |
#balance_amount ⇒ Integer
Amount of the cryptocurrency that isn’t withdrawn yet, in the smallest units of the cryptocurrency.
11 12 13 |
# File 'lib/tdlib/types/chat_revenue_amount.rb', line 11 def balance_amount @balance_amount end |
#cryptocurrency ⇒ TD::Types::String
Cryptocurrency in which revenue is calculated.
11 12 13 |
# File 'lib/tdlib/types/chat_revenue_amount.rb', line 11 def cryptocurrency @cryptocurrency end |
#total_amount ⇒ Integer
Total amount of the cryptocurrency earned, in the smallest units of the cryptocurrency.
11 12 13 |
# File 'lib/tdlib/types/chat_revenue_amount.rb', line 11 def total_amount @total_amount end |