Package org.drinkless.tdlib
Class TdApi.SendPaymentForm
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SendPaymentForm
-
- Enclosing class:
- TdApi
public static class TdApi.SendPaymentForm extends TdApi.Function
Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier of the Invoice message.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.InputCredentialscredentialsThe credentials chosen by user for payment.longmessageIdMessage identifier.StringorderInfoIdIdentifier returned by validateOrderInfo, or an empty string.longpaymentFormIdPayment form identifier returned by getPaymentForm.StringshippingOptionIdIdentifier of a chosen shipping option, if applicable.longtipAmountChosen by the user amount of tip in the smallest units of the currency.
-
Constructor Summary
Constructors Constructor Description SendPaymentForm()Default constructor for a function, which sends a filled-out payment form to the bot for final verification.SendPaymentForm(long chatId, long messageId, long paymentFormId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials, long tipAmount)Creates a function, which sends a filled-out payment form to the bot for final verification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier of the Invoice message.
-
messageId
public long messageId
Message identifier.
-
paymentFormId
public long paymentFormId
Payment form identifier returned by getPaymentForm.
-
orderInfoId
public String orderInfoId
Identifier returned by validateOrderInfo, or an empty string.
-
shippingOptionId
public String shippingOptionId
Identifier of a chosen shipping option, if applicable.
-
credentials
public TdApi.InputCredentials credentials
The credentials chosen by user for payment.
-
tipAmount
public long tipAmount
Chosen by the user amount of tip 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
-
SendPaymentForm
public SendPaymentForm()
Default constructor for a function, which sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
-
SendPaymentForm
public SendPaymentForm(long chatId, long messageId, long paymentFormId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials, long tipAmount)Creates a function, which sends a filled-out payment form to the bot for final verification.Returns
PaymentResult- Parameters:
chatId- Chat identifier of the Invoice message.messageId- Message identifier.paymentFormId- Payment form identifier returned by getPaymentForm.orderInfoId- Identifier returned by validateOrderInfo, or an empty string.shippingOptionId- Identifier of a chosen shipping option, if applicable.credentials- The credentials chosen by user for payment.tipAmount- Chosen by the user amount of tip in the smallest units of the currency.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-