Class 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 Details

    • chatId

      public long chatId
      Chat identifier of the Invoice message.
    • messageId

      public long messageId
      Message identifier.
    • 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.
    • 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

      public SendPaymentForm​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details