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