Package org.drinkless.tdlib
Class TdApi.StarTransactionPartnerBot
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionPartner
org.drinkless.tdlib.TdApi.StarTransactionPartnerBot
- Enclosing class:
- TdApi
The transaction is a transaction with a bot.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.StarTransactionPartner
TdApi.StarTransactionPartner.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the bot.static final intIdentifier uniquely determining type of the object.byte[]Invoice payload; for bots only.Information about the bought product; may be null if not applicable. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a transaction with a bot.StarTransactionPartnerBot(long botUserId, TdApi.ProductInfo productInfo, byte[] invoicePayload) The transaction is a transaction with a bot. -
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
-
botUserId
public long botUserIdIdentifier of the bot. -
productInfo
Information about the bought product; may be null if not applicable. -
invoicePayload
public byte[] invoicePayloadInvoice payload; for bots only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionPartnerBot
public StarTransactionPartnerBot()The transaction is a transaction with a bot. -
StarTransactionPartnerBot
public StarTransactionPartnerBot(long botUserId, TdApi.ProductInfo productInfo, byte[] invoicePayload) The transaction is a transaction with a bot.- Parameters:
botUserId- Identifier of the bot.productInfo- Information about the bought product; may be null if not applicable.invoicePayload- Invoice payload; for bots only.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.StarTransactionPartner- Returns:
- this.CONSTRUCTOR
-