Package org.drinkless.tdlib
Class TdApi.GiftUpgradePrice
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftUpgradePrice
- Enclosing class:
- TdApi
Describes a price required to pay to upgrade a gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the price will be in effect.longThe amount of Telegram Stars required to pay to upgrade the gift. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
date
public int datePoint in time (Unix timestamp) when the price will be in effect. -
starCount
public long starCountThe amount of Telegram Stars required to pay to upgrade the gift. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-