Class TdApi.PaymentReceipt

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PaymentReceipt
Enclosing class:
TdApi

public static class TdApi.PaymentReceipt extends TdApi.Object
Contains information about a successful payment.
  • Field Details

    • productInfo

      public TdApi.ProductInfo productInfo
      Information about the product.
    • date

      public int date
      Point in time (Unix timestamp) when the payment was made.
    • sellerBotUserId

      public long sellerBotUserId
      User identifier of the seller bot.
    • type

      Type of the payment receipt.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR