Class: TD::Types::StarTransaction
- Defined in:
- lib/tdlib/types/star_transaction.rb
Overview
Represents a transaction changing the amount of owned Telegram Stars.
Instance Attribute Summary collapse
-
#date ⇒ Integer
Point in time (Unix timestamp) when the transaction was completed.
-
#id ⇒ TD::Types::String
Unique identifier of the transaction.
-
#is_refund ⇒ Boolean
True, if the transaction is a refund of a previous transaction.
-
#partner ⇒ TD::Types::StarTransactionPartner
Source of the incoming transaction, or its recipient for outgoing transactions.
-
#star_count ⇒ Integer
The amount of added owned Telegram Stars; negative for outgoing transactions.
Method Summary
Methods inherited from Base
Instance Attribute Details
#date ⇒ Integer
Point in time (Unix timestamp) when the transaction was completed.
10 11 12 |
# File 'lib/tdlib/types/star_transaction.rb', line 10 def date @date end |
#id ⇒ TD::Types::String
Unique identifier of the transaction.
10 11 12 |
# File 'lib/tdlib/types/star_transaction.rb', line 10 def id @id end |
#is_refund ⇒ Boolean
True, if the transaction is a refund of a previous transaction.
10 11 12 |
# File 'lib/tdlib/types/star_transaction.rb', line 10 def is_refund @is_refund end |
#partner ⇒ TD::Types::StarTransactionPartner
Source of the incoming transaction, or its recipient for outgoing transactions.
10 11 12 |
# File 'lib/tdlib/types/star_transaction.rb', line 10 def partner @partner end |
#star_count ⇒ Integer
The amount of added owned Telegram Stars; negative for outgoing transactions.
10 11 12 |
# File 'lib/tdlib/types/star_transaction.rb', line 10 def star_count @star_count end |