Class: TD::Types::ChatRevenueTransaction
- Defined in:
- lib/tdlib/types/chat_revenue_transaction.rb
Overview
Contains a chat revenue transactions.
Instance Attribute Summary collapse
-
#cryptocurrency ⇒ TD::Types::String
Cryptocurrency in which revenue is calculated.
-
#cryptocurrency_amount ⇒ Integer
The withdrawn amount, in the smallest units of the cryptocurrency.
-
#type ⇒ TD::Types::ChatRevenueTransactionType
Type of the transaction.
Method Summary
Methods inherited from Base
Instance Attribute Details
#cryptocurrency ⇒ TD::Types::String
Cryptocurrency in which revenue is calculated.
7 8 9 |
# File 'lib/tdlib/types/chat_revenue_transaction.rb', line 7 def cryptocurrency @cryptocurrency end |
#cryptocurrency_amount ⇒ Integer
The withdrawn amount, in the smallest units of the cryptocurrency.
7 8 9 |
# File 'lib/tdlib/types/chat_revenue_transaction.rb', line 7 def cryptocurrency_amount @cryptocurrency_amount end |
#type ⇒ TD::Types::ChatRevenueTransactionType
Type of the transaction.
7 8 9 |
# File 'lib/tdlib/types/chat_revenue_transaction.rb', line 7 def type @type end |