public static class TdApi.MessagePaymentSuccessful 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.
|
long |
invoiceChatId
Identifier of the chat, containing the corresponding invoice message.
|
long |
invoiceMessageId
Identifier of the message with the corresponding invoice; can be 0 or an identifier of a deleted message.
|
java.lang.String |
invoiceName
Name of the invoice; may be empty if unknown.
|
boolean |
isFirstRecurring
True, if this is the first recurring payment.
|
boolean |
isRecurring
True, if this is a recurring payment.
|
int |
subscriptionUntilDate
Point in time (Unix timestamp) when the subscription will expire; 0 if unknown or the payment isn't recurring.
|
long |
totalAmount
Total price for the product, in the smallest units of the currency.
|
| Constructor and Description |
|---|
MessagePaymentSuccessful()
A payment has been sent to a bot or a business account.
|
MessagePaymentSuccessful(long invoiceChatId,
long invoiceMessageId,
java.lang.String currency,
long totalAmount,
int subscriptionUntilDate,
boolean isRecurring,
boolean isFirstRecurring,
java.lang.String invoiceName)
A payment has been sent to a bot or a business account.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long invoiceChatId
public long invoiceMessageId
public java.lang.String currency
public long totalAmount
public int subscriptionUntilDate
public boolean isRecurring
public boolean isFirstRecurring
public java.lang.String invoiceName
public static final int CONSTRUCTOR
public MessagePaymentSuccessful()
public MessagePaymentSuccessful(long invoiceChatId,
long invoiceMessageId,
java.lang.String currency,
long totalAmount,
int subscriptionUntilDate,
boolean isRecurring,
boolean isFirstRecurring,
java.lang.String invoiceName)
invoiceChatId - Identifier of the chat, containing the corresponding invoice message.invoiceMessageId - Identifier of the message with the corresponding invoice; can be 0 or 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.subscriptionUntilDate - Point in time (Unix timestamp) when the subscription will expire; 0 if unknown or the payment isn't recurring.isRecurring - True, if this is a recurring payment.isFirstRecurring - True, if this is the first recurring payment.invoiceName - Name of the invoice; may be empty if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object