Class TdApi.PaymentReceipt
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PaymentReceipt
- Enclosing class:
- TdApi
Contains information about a successful payment.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the payment was made.Information about the product.long
User identifier of the seller bot.Type of the payment receipt. -
Constructor Summary
ConstructorDescriptionContains information about a successful payment.PaymentReceipt
(TdApi.ProductInfo productInfo, int date, long sellerBotUserId, TdApi.PaymentReceiptType type) Contains information about a successful payment. -
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
-
productInfo
Information about the product. -
date
public int datePoint in time (Unix timestamp) when the payment was made. -
sellerBotUserId
public long sellerBotUserIdUser identifier of the seller bot. -
type
Type of the payment receipt. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaymentReceipt
public PaymentReceipt()Contains information about a successful payment. -
PaymentReceipt
public PaymentReceipt(TdApi.ProductInfo productInfo, int date, long sellerBotUserId, TdApi.PaymentReceiptType type) Contains information about a successful payment.- Parameters:
productInfo
- Information about the product.date
- Point in time (Unix timestamp) when the payment was made.sellerBotUserId
- User identifier of the seller bot.type
- Type of the payment receipt.
-
-
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
-