Class TdApi.GiftUpgradePrice

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftUpgradePrice
Enclosing class:
TdApi

public static class TdApi.GiftUpgradePrice extends TdApi.Object
Describes a price required to pay to upgrade a gift.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Point in time (Unix timestamp) when the price will be in effect.
    long
    The amount of Telegram Stars required to pay to upgrade the gift.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes a price required to pay to upgrade a gift.
    GiftUpgradePrice(int date, long starCount)
    Describes a price required to pay to upgrade a gift.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

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

    • date

      public int date
      Point in time (Unix timestamp) when the price will be in effect.
    • starCount

      public long starCount
      The amount of Telegram Stars required to pay to upgrade the gift.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GiftUpgradePrice

      public GiftUpgradePrice()
      Describes a price required to pay to upgrade a gift.
    • GiftUpgradePrice

      public GiftUpgradePrice(int date, long starCount)
      Describes a price required to pay to upgrade a gift.
      Parameters:
      date - Point in time (Unix timestamp) when the price will be in effect.
      starCount - The amount of Telegram Stars required to pay to upgrade the gift.
  • 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