Class: TD::Types::CollectibleItemInfo
- Defined in:
- lib/tdlib/types/collectible_item_info.rb
Overview
Contains information about a collectible item and its last purchase.
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The paid amount, in the smallest units of the currency.
-
#cryptocurrency ⇒ TD::Types::String
Cryptocurrency used to pay for the item.
-
#cryptocurrency_amount ⇒ Integer
The paid amount, in the smallest units of the cryptocurrency.
-
#currency ⇒ TD::Types::String
Currency for the paid amount.
-
#purchase_date ⇒ Integer
Point in time (Unix timestamp) when the item was purchased.
-
#url ⇒ TD::Types::String
Individual URL for the item on fragment.com.
Method Summary
Methods inherited from Base
Instance Attribute Details
#amount ⇒ Integer
The paid amount, in the smallest units of the currency.
10 11 12 |
# File 'lib/tdlib/types/collectible_item_info.rb', line 10 def amount @amount end |
#cryptocurrency ⇒ TD::Types::String
Cryptocurrency used to pay for the item.
10 11 12 |
# File 'lib/tdlib/types/collectible_item_info.rb', line 10 def cryptocurrency @cryptocurrency end |
#cryptocurrency_amount ⇒ Integer
The paid amount, in the smallest units of the cryptocurrency.
10 11 12 |
# File 'lib/tdlib/types/collectible_item_info.rb', line 10 def cryptocurrency_amount @cryptocurrency_amount end |
#currency ⇒ TD::Types::String
Currency for the paid amount.
10 11 12 |
# File 'lib/tdlib/types/collectible_item_info.rb', line 10 def currency @currency end |
#purchase_date ⇒ Integer
Point in time (Unix timestamp) when the item was purchased.
10 11 12 |
# File 'lib/tdlib/types/collectible_item_info.rb', line 10 def purchase_date @purchase_date end |
#url ⇒ TD::Types::String
Individual URL for the item on fragment.com.
10 11 12 |
# File 'lib/tdlib/types/collectible_item_info.rb', line 10 def url @url end |