public static class TdApi.MessagePaymentSuccessful extends TdApi.MessageContent
TdApi.MessageContent.Constructors
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.
|
long |
invoiceChatId
Identifier of the chat, containing the corresponding invoice message; 0 if unknown.
|
long |
invoiceMessageId
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
|
long |
totalAmount
Total price for the product, in the smallest units of the currency.
|
Constructor and Description |
---|
MessagePaymentSuccessful()
A payment has been completed.
|
MessagePaymentSuccessful(long invoiceChatId,
long invoiceMessageId,
java.lang.String currency,
long totalAmount)
A payment has been completed.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long invoiceChatId
public long invoiceMessageId
public java.lang.String currency
public long totalAmount
public static final int CONSTRUCTOR
public MessagePaymentSuccessful()
public MessagePaymentSuccessful(long invoiceChatId, long invoiceMessageId, java.lang.String currency, long totalAmount)
invoiceChatId
- Identifier of the chat, containing the corresponding invoice message; 0 if unknown.invoiceMessageId
- Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.currency
- Currency for the price of the product.totalAmount
- Total price for the product, in the smallest units of the currency.public int getConstructor()
getConstructor
in class TdApi.MessageContent