Class: TD::Types::Update::ChatRevenueAmount
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatRevenueAmount
- Defined in:
- lib/tdlib/types/update/chat_revenue_amount.rb
Overview
The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Identifier of the chat.
-
#revenue_amount ⇒ TD::Types::ChatRevenueAmount
New amount of earned revenue.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Identifier of the chat.
7 8 9 |
# File 'lib/tdlib/types/update/chat_revenue_amount.rb', line 7 def chat_id @chat_id end |
#revenue_amount ⇒ TD::Types::ChatRevenueAmount
New amount of earned revenue.
7 8 9 |
# File 'lib/tdlib/types/update/chat_revenue_amount.rb', line 7 def revenue_amount @revenue_amount end |