Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeGiftUpgradePurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeGiftUpgradePurchase
- Enclosing class:
- TdApi
The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The gift.Owner of the upgraded gift. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.StarTransactionTypeGiftUpgradePurchase(TdApi.MessageSender ownerId, TdApi.Gift gift) The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant 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
-
ownerId
Owner of the upgraded gift. -
gift
The gift. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionTypeGiftUpgradePurchase
public StarTransactionTypeGiftUpgradePurchase()The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only. -
StarTransactionTypeGiftUpgradePurchase
The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.- Parameters:
ownerId- Owner of the upgraded 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
-