Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeUpgradedGiftPurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeUpgradedGiftPurchase
- Enclosing class:
- TdApi
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The gift.long
Identifier of the user that sold the gift. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a purchase of an upgraded gift for some user or channel; for regular users only.StarTransactionTypeUpgradedGiftPurchase
(long userId, TdApi.UpgradedGift gift) The transaction is a purchase of an upgraded gift for some user or channel; for regular users only. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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
-
StarTransactionTypeUpgradedGiftPurchase
public StarTransactionTypeUpgradedGiftPurchase()The transaction is a purchase of an upgraded gift for some user or channel; for regular users only. -
StarTransactionTypeUpgradedGiftPurchase
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.- Parameters:
userId
- Identifier of the user that sold the gift.gift
- The gift.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-