Class TdApi.MessagePaymentSuccessful

Enclosing class:
TdApi

public static class TdApi.MessagePaymentSuccessful
extends TdApi.MessageContent
A payment has been completed.
  • Field Details

    • invoiceMessageId

      public long invoiceMessageId
      Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
    • currency

      public String currency
      Currency for the price of the product.
    • totalAmount

      public long totalAmount
      Total price for the product, in the minimal quantity of the currency.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • MessagePaymentSuccessful

      public MessagePaymentSuccessful()
      A payment has been completed.
    • MessagePaymentSuccessful

      public MessagePaymentSuccessful​(long invoiceMessageId, String currency, long totalAmount)
      A payment has been completed.
      Parameters:
      invoiceMessageId - long Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
      currency - String Currency for the price of the product.
      totalAmount - long Total price for the product, in the minimal quantity of the currency.
    • MessagePaymentSuccessful

      public MessagePaymentSuccessful​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details