public static class TdApi.MessagePaymentRefunded extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
currency
Currency for the price of the product.
|
byte[] |
invoicePayload
Invoice payload; only for bots.
|
TdApi.MessageSender |
ownerId
Identifier of the previous owner of the Telegram Stars that refunds them.
|
java.lang.String |
providerPaymentChargeId
Provider payment identifier.
|
java.lang.String |
telegramPaymentChargeId
Telegram payment identifier.
|
long |
totalAmount
Total price for the product, in the smallest units of the currency.
|
| Constructor and Description |
|---|
MessagePaymentRefunded()
A payment has been refunded.
|
MessagePaymentRefunded(TdApi.MessageSender ownerId,
java.lang.String currency,
long totalAmount,
byte[] invoicePayload,
java.lang.String telegramPaymentChargeId,
java.lang.String providerPaymentChargeId)
A payment has been refunded.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageSender ownerId
public java.lang.String currency
public long totalAmount
public byte[] invoicePayload
public java.lang.String telegramPaymentChargeId
public java.lang.String providerPaymentChargeId
public static final int CONSTRUCTOR
public MessagePaymentRefunded()
public MessagePaymentRefunded(TdApi.MessageSender ownerId, java.lang.String currency, long totalAmount, byte[] invoicePayload, java.lang.String telegramPaymentChargeId, java.lang.String providerPaymentChargeId)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object