Package org.drinkless.tdlib
Class TdApi.GiftResaleParameters
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftResaleParameters
- Enclosing class:
- TdApi
Describes parameters of a unique gift available for resale.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longResale price of the gift in Telegram Stars.longResale price of the gift in 1/100 of Toncoin.booleanTrue, if the gift can be bought only using Toncoins. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes parameters of a unique gift available for resale.GiftResaleParameters(long starCount, long toncoinCentCount, boolean toncoinOnly) Describes parameters of a unique gift available for resale. -
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 starCountResale price of the gift in Telegram Stars. -
toncoinCentCount
public long toncoinCentCountResale price of the gift in 1/100 of Toncoin. -
toncoinOnly
public boolean toncoinOnlyTrue, if the gift can be bought only using Toncoins. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftResaleParameters
public GiftResaleParameters()Describes parameters of a unique gift available for resale. -
GiftResaleParameters
public GiftResaleParameters(long starCount, long toncoinCentCount, boolean toncoinOnly) Describes parameters of a unique gift available for resale.- Parameters:
starCount- Resale price of the gift in Telegram Stars.toncoinCentCount- Resale price of the gift in 1/100 of Toncoin.toncoinOnly- True, if the gift can be bought only using Toncoins.
-
-
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
-