Package it.tdlight.jni
Class TdApi.SendPaymentForm
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 long
chatId
Chat identifier of the Invoice message.static int
CONSTRUCTOR
TdApi.InputCredentials
credentials
The credentials chosen by user for payment.long
messageId
Message identifier.String
orderInfoId
Identifier returned by ValidateOrderInfo, or an empty string.String
shippingOptionId
Identifier of a chosen shipping option, if applicable. -
Constructor Summary
Constructors Constructor Description SendPaymentForm()
Sends a filled-out payment form to the bot for final verification.SendPaymentForm(long chatId, long messageId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials)
Sends a filled-out payment form to the bot for final verification.SendPaymentForm(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier of the Invoice message. -
messageId
public long messageIdMessage identifier. -
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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SendPaymentForm
public SendPaymentForm()Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
-
SendPaymentForm
public SendPaymentForm(long chatId, long messageId, String orderInfoId, String shippingOptionId, TdApi.InputCredentials credentials)Sends a filled-out payment form to the bot for final verification.Returns
PaymentResult
- Parameters:
chatId
- long Chat identifier of the Invoice message.messageId
- long Message identifier.orderInfoId
- String Identifier returned by ValidateOrderInfo, or an empty string.shippingOptionId
- String Identifier of a chosen shipping option, if applicable.credentials
- InputCredentials The credentials chosen by user for payment.
-
SendPaymentForm
- 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()
-