Package org.drinkless.tdlib
Class TdApi.UpgradedGiftOriginResale
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftOrigin
org.drinkless.tdlib.TdApi.UpgradedGiftOriginResale
- Enclosing class:
- TdApi
The gift was bought from another user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longNumber of Telegram Stars that were paid by the sender for the gift. -
Constructor Summary
ConstructorsConstructorDescriptionThe gift was bought from another user.UpgradedGiftOriginResale(long starCount) The gift was bought from another user. -
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 starCountNumber of Telegram Stars that were paid by the sender for the gift. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpgradedGiftOriginResale
public UpgradedGiftOriginResale()The gift was bought from another user. -
UpgradedGiftOriginResale
public UpgradedGiftOriginResale(long starCount) The gift was bought from another user.- Parameters:
starCount- Number of Telegram Stars that were paid by the sender for 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
-