Class TdApi.MessagePaymentRefunded

Enclosing class:
TdApi

public static class TdApi.MessagePaymentRefunded extends TdApi.MessageContent
A payment has been refunded.
  • Field Details

    • ownerId

      public TdApi.MessageSender ownerId
      Identifier of the previous owner of the Telegram Stars that refunds them.
    • currency

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

      public long totalAmount
      Total price for the product, in the smallest units of the currency.
    • invoicePayload

      public byte[] invoicePayload
      Invoice payload; only for bots.
    • telegramPaymentChargeId

      public String telegramPaymentChargeId
      Telegram payment identifier.
    • providerPaymentChargeId

      public String providerPaymentChargeId
      Provider payment identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • MessagePaymentRefunded

      public MessagePaymentRefunded()
      A payment has been refunded.
    • MessagePaymentRefunded

      public MessagePaymentRefunded(TdApi.MessageSender ownerId, String currency, long totalAmount, byte[] invoicePayload, String telegramPaymentChargeId, String providerPaymentChargeId)
      A payment has been refunded.
      Parameters:
      ownerId - Identifier of the previous owner of the Telegram Stars that refunds them.
      currency - Currency for the price of the product.
      totalAmount - Total price for the product, in the smallest units of the currency.
      invoicePayload - Invoice payload; only for bots.
      telegramPaymentChargeId - Telegram payment identifier.
      providerPaymentChargeId - Provider payment identifier.
  • 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