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