java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessagePaymentSuccessful
- Enclosing class:
- TdApi
A payment has been completed.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Currency for the price of the product.long
Identifier of the chat, containing the corresponding invoice message; 0 if unknown.long
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.long
Total price for the product, in the smallest units of the currency. -
Constructor Summary
ConstructorDescriptionA payment has been completed.MessagePaymentSuccessful
(long invoiceChatId, long invoiceMessageId, String currency, long totalAmount) A payment has been completed.A payment has been completed. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
invoiceChatId
public long invoiceChatIdIdentifier of the chat, containing the corresponding invoice message; 0 if unknown. -
invoiceMessageId
public long invoiceMessageIdIdentifier of the message with the corresponding invoice; can be an identifier of a deleted message. -
currency
Currency for the price of the product. -
totalAmount
public long totalAmountTotal price for the product, in the smallest units of the currency. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessagePaymentSuccessful
public MessagePaymentSuccessful()A payment has been completed. -
MessagePaymentSuccessful
public MessagePaymentSuccessful(long invoiceChatId, long invoiceMessageId, String currency, long totalAmount) A payment has been completed.- Parameters:
invoiceChatId
- long Identifier of the chat, containing the corresponding invoice message; 0 if unknown.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 smallest units of the currency.
-
MessagePaymentSuccessful
A payment has been completed.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-