Package org.drinkless.tdlib
Class TdApi.MessagePaymentSuccessful
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageContent
-
- org.drinkless.tdlib.TdApi.MessagePaymentSuccessful
-
- Enclosing class:
- TdApi
public static class TdApi.MessagePaymentSuccessful extends TdApi.MessageContent
A payment has been completed.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringcurrencyCurrency for the price of the product.longinvoiceChatIdIdentifier of the chat, containing the corresponding invoice message; 0 if unknown.longinvoiceMessageIdIdentifier of the message with the corresponding invoice; can be an identifier of a deleted message.longtotalAmountTotal price for the product, in the smallest units of the currency.
-
Constructor Summary
Constructors Constructor Description MessagePaymentSuccessful()A payment has been completed.MessagePaymentSuccessful(long invoiceChatId, long invoiceMessageId, String currency, long totalAmount)A payment has been completed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
invoiceChatId
public long invoiceChatId
Identifier of the chat, containing the corresponding invoice message; 0 if unknown.
-
invoiceMessageId
public long invoiceMessageId
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
-
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.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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- 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-