Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeBotInvoicePurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeBotInvoicePurchase
- Enclosing class:
- TdApi
The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Information about the bought product.longIdentifier of the bot or the business account user that created the invoice. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.StarTransactionTypeBotInvoicePurchase(long userId, TdApi.ProductInfo productInfo) The transaction is a purchase of a product from a bot or a business account by the current user; 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 bot or the business account user that created the invoice. -
productInfo
Information about the bought product. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionTypeBotInvoicePurchase
public StarTransactionTypeBotInvoicePurchase()The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only. -
StarTransactionTypeBotInvoicePurchase
The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.- Parameters:
userId- Identifier of the bot or the business account user that created the invoice.productInfo- Information about the bought product.
-
-
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
-