Package org.drinkless.tdlib
Class TdApi.TonTransactionTypeUpgradedGiftPurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TonTransactionType
org.drinkless.tdlib.TdApi.TonTransactionTypeUpgradedGiftPurchase
- Enclosing class:
- TdApi
The transaction is a purchase of an upgraded gift for some user or channel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The gift.longIdentifier of the user that sold the gift. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a purchase of an upgraded gift for some user or channel.TonTransactionTypeUpgradedGiftPurchase(long userId, TdApi.UpgradedGift gift) The transaction is a purchase of an upgraded gift for some user or channel. -
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
-
userId
public long userIdIdentifier of the user that sold the gift. -
gift
The gift. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TonTransactionTypeUpgradedGiftPurchase
public TonTransactionTypeUpgradedGiftPurchase()The transaction is a purchase of an upgraded gift for some user or channel. -
TonTransactionTypeUpgradedGiftPurchase
The transaction is a purchase of an upgraded gift for some user or channel.- Parameters:
userId- Identifier of the user that sold the gift.gift- 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
-