Class TdApi.CollectibleItemInfo

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.CollectibleItemInfo
Enclosing class:
TdApi

public static class TdApi.CollectibleItemInfo extends TdApi.Object
Contains information about a collectible item and its last purchase.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    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

    Constructors
    Constructor
    Description
    Contains 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • purchaseDate

      public int purchaseDate
      Point in time (Unix timestamp) when the item was purchased.
    • currency

      public String currency
      Currency for the paid amount.
    • amount

      public long amount
      The paid amount, in the smallest units of the currency.
    • cryptocurrency

      public String cryptocurrency
      Cryptocurrency used to pay for the item.
    • cryptocurrencyAmount

      public long cryptocurrencyAmount
      The paid amount, in the smallest units of the cryptocurrency.
    • url

      public String url
      Individual URL for the item on https://fragment.com.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR