Class TdApi.CollectibleItemInfo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.CollectibleItemInfo
- Enclosing class:
- TdApi
Contains information about a collectible item and its last purchase.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The paid amount, in the smallest units of the currency.static final int
Identifier uniquely determining type of the object.Cryptocurrency used to pay for the item.long
The paid amount, in the smallest units of the cryptocurrency.Currency for the paid amount.int
Point in time (Unix timestamp) when the item was purchased.Individual URL for the item on https://fragment.com. -
Constructor Summary
ConstructorDescriptionContains information about a collectible item and its last purchase.CollectibleItemInfo
(int purchaseDate, String currency, long amount, String cryptocurrency, long cryptocurrencyAmount, String url) Contains information about a collectible item and its last purchase. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
purchaseDate
public int purchaseDatePoint in time (Unix timestamp) when the item was purchased. -
currency
Currency for the paid amount. -
amount
public long amountThe paid amount, in the smallest units of the currency. -
cryptocurrency
Cryptocurrency used to pay for the item. -
cryptocurrencyAmount
public long cryptocurrencyAmountThe paid amount, in the smallest units of the cryptocurrency. -
url
Individual URL for the item on https://fragment.com. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CollectibleItemInfo
public CollectibleItemInfo()Contains information about a collectible item and its last purchase. -
CollectibleItemInfo
public CollectibleItemInfo(int purchaseDate, String currency, long amount, String cryptocurrency, long cryptocurrencyAmount, String url) Contains information about a collectible item and its last purchase.- Parameters:
purchaseDate
- Point in time (Unix timestamp) when the item was purchased.currency
- Currency for the paid amount.amount
- The paid amount, in the smallest units of the currency.cryptocurrency
- Cryptocurrency used to pay for the item.cryptocurrencyAmount
- The paid amount, in the smallest units of the cryptocurrency.url
- Individual URL for the item on https://fragment.com.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-