lib/tdlib/client_methods.rb
def send_payment_form(chat_id:, message_id:, payment_form_id:, order_info_id:, shipping_option_id:, credentials:,
                        tip_amount:)
    broadcast('@type'              => 'sendPaymentForm',
              'chat_id'            => chat_id,
              'message_id'         => message_id,
              'payment_form_id'    => payment_form_id,
              'order_info_id'      => order_info_id,
              'shipping_option_id' => shipping_option_id,
              'credentials'        => credentials,
              'tip_amount'         => tip_amount)
  end
# Sends a filled-out payment form to the bot for final verification.
#
# @param chat_id [Integer] Chat identifier of the Invoice message.
# @param message_id [Integer] Message identifier.
# @param payment_form_id [Integer] Payment form identifier returned by getPaymentForm.
# @param order_info_id [TD::Types::String] Identifier returned by validateOrderInfo, or an empty string.
# @param shipping_option_id [TD::Types::String] Identifier of a chosen shipping option, if applicable.
# @param credentials [TD::Types::InputCredentials] The credentials chosen by user for payment.
# @param tip_amount [Integer] Chosen by the user amount of tip in the smallest units of the currency.
# @return [TD::Types::PaymentResult]
Sends a filled-out payment form to the bot for final verification.
Sends a filled - out payment form to the bot for final verification .
def send_payment_form(chat_id:, message_id:, payment_form_id:, order_info_id:, shipping_option_id:, credentials:,
                        tip_amount:)
    broadcast('@type'              => 'sendPaymentForm',
              'chat_id'            => chat_id,
              'message_id'         => message_id,
              'payment_form_id'    => payment_form_id,
              'order_info_id'      => order_info_id,
              'shipping_option_id' => shipping_option_id,
              'credentials'        => credentials,
              'tip_amount'         => tip_amount)
  end
def send_payment_form ( chat_id : , message_id : , payment_form_id : , order_info_id : , shipping_option_id : , credentials : , tip_amount : ) broadcast ( '@type' => 'sendPaymentForm' , 'chat_id' => chat_id , 'message_id' => message_id , 'payment_form_id' => payment_form_id , 'order_info_id' => order_info_id , 'shipping_option_id' => shipping_option_id , 'credentials' => credentials , 'tip_amount' => tip_amount ) end
Sends a filled-out payment form to the bot for final verification.
Sends a filled - out payment form to the bot for final verification .
None
TD::Types::PaymentResult
chat_id
Chat identifier of the Invoice message.
Chat identifier of the Invoice message .
message_id
None
payment_form_id
Payment form identifier returned by getPaymentForm.
Payment form identifier returned by getPaymentForm .
order_info_id
Identifier returned by validateOrderInfo, or an empty string.
Identifier returned by validateOrderInfo or an empty string .
shipping_option_id
Identifier of a chosen shipping option, if applicable.
Identifier of a chosen shipping option if applicable .
credentials
The credentials chosen by user for payment.
The credentials chosen by user for payment .
tip_amount
Chosen by the user amount of tip in the smallest units of the currency.
Chosen by the user amount of tip in the smallest units of the currency .