Package org.drinkless.tdlib
Class TdApi.GiftResalePriceTon
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftResalePrice
org.drinkless.tdlib.TdApi.GiftResalePriceTon
- Enclosing class:
- TdApi
Describes price of a resold gift in Toncoins.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longThe amount of 1/100 of Toncoin expected to be paid for the gift. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes price of a resold gift in Toncoins.GiftResalePriceTon(long toncoinCentCount) Describes price of a resold gift in Toncoins. -
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
-
toncoinCentCount
public long toncoinCentCountThe amount of 1/100 of Toncoin expected to be paid for the gift. Must be in the range getOption("gift_resale_toncoin_cent_count_min")-getOption("gift_resale_toncoin_cent_count_max"). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftResalePriceTon
public GiftResalePriceTon()Describes price of a resold gift in Toncoins. -
GiftResalePriceTon
public GiftResalePriceTon(long toncoinCentCount) Describes price of a resold gift in Toncoins.- Parameters:
toncoinCentCount- The amount of 1/100 of Toncoin expected to be paid for the gift. Must be in the range getOption("gift_resale_toncoin_cent_count_min")-getOption("gift_resale_toncoin_cent_count_max").
-
-
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
-