Class: TD::Types::ChatRevenueTransactionType::Earnings
- Inherits:
-
TD::Types::ChatRevenueTransactionType
- Object
- Dry::Struct
- Base
- TD::Types::ChatRevenueTransactionType
- TD::Types::ChatRevenueTransactionType::Earnings
- Defined in:
- lib/tdlib/types/chat_revenue_transaction_type/earnings.rb
Overview
Describes earnings from sponsored messages in a chat in some time frame.
Instance Attribute Summary collapse
-
#end_date ⇒ Integer
Point in time (Unix timestamp) when the earnings ended.
-
#start_date ⇒ Integer
Point in time (Unix timestamp) when the earnings started.
Method Summary
Methods inherited from Base
Instance Attribute Details
#end_date ⇒ Integer
Point in time (Unix timestamp) when the earnings ended.
6 7 8 |
# File 'lib/tdlib/types/chat_revenue_transaction_type/earnings.rb', line 6 def end_date @end_date end |
#start_date ⇒ Integer
Point in time (Unix timestamp) when the earnings started.
6 7 8 |
# File 'lib/tdlib/types/chat_revenue_transaction_type/earnings.rb', line 6 def start_date @start_date end |