Package org.drinkless.tdlib
Class TdApi.GiftResalePriceStar
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftResalePrice
org.drinkless.tdlib.TdApi.GiftResalePriceStar
- Enclosing class:
TdApi
Describes price of a resold gift in Telegram Stars.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.GiftResalePrice
TdApi.GiftResalePrice.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longThe Telegram Star amount expected to be paid for the gift. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes price of a resold gift in Telegram Stars.GiftResalePriceStar(long starCount) Describes price of a resold gift in Telegram Stars. -
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
-
starCount
public long starCountThe Telegram Star amount expected to be paid for the gift. Must be in the range getOption("gift_resale_star_count_min")-getOption("gift_resale_star_count_max") for gifts put for resale. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftResalePriceStar
public GiftResalePriceStar()Describes price of a resold gift in Telegram Stars. -
GiftResalePriceStar
public GiftResalePriceStar(long starCount) Describes price of a resold gift in Telegram Stars.- Parameters:
starCount- The Telegram Star amount expected to be paid for the gift. Must be in the range getOption("gift_resale_star_count_min")-getOption("gift_resale_star_count_max") for gifts put for resale.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.GiftResalePrice- Returns:
- this.CONSTRUCTOR
-