Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeUpgradedGiftSale
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeUpgradedGiftSale
- Enclosing class:
- TdApi
The transaction is a sale of an upgraded gift; for regular users only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInformation about commission received by Telegram from the transaction.static final intIdentifier uniquely determining type of the object.The gift.longIdentifier of the user that bought the gift. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a sale of an upgraded gift; for regular users only.StarTransactionTypeUpgradedGiftSale(long userId, TdApi.UpgradedGift gift, TdApi.AffiliateInfo affiliate) The transaction is a sale of an upgraded gift; for regular users only. -
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 bought the gift. -
gift
The gift. -
affiliate
Information about commission received by Telegram from the transaction. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionTypeUpgradedGiftSale
public StarTransactionTypeUpgradedGiftSale()The transaction is a sale of an upgraded gift; for regular users only. -
StarTransactionTypeUpgradedGiftSale
public StarTransactionTypeUpgradedGiftSale(long userId, TdApi.UpgradedGift gift, TdApi.AffiliateInfo affiliate) The transaction is a sale of an upgraded gift; for regular users only.- Parameters:
userId- Identifier of the user that bought the gift.gift- The gift.affiliate- Information about commission received by Telegram from the transaction.
-
-
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
-