Class TdApi.StarTransactionPartnerBot
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.StarTransactionPartner
dev.voroby.springframework.telegram.client.TdApi.StarTransactionPartnerBot
- Enclosing class:
- TdApi
The transaction is a transaction with a bot.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.byte[]
Invoice payload; for bots only.Information about the bought product; may be null if not applicable.long
Identifier of the bot for the user, or the user for the bot. -
Constructor Summary
ConstructorDescriptionThe transaction is a transaction with a bot.StarTransactionPartnerBot
(long userId, TdApi.ProductInfo productInfo, byte[] invoicePayload) The transaction is a transaction with a bot. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
userId
public long userIdIdentifier of the bot for the user, or the user for 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
The transaction is a transaction with a bot.- Parameters:
userId
- Identifier of the bot for the user, or the user for 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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-