lib/tdlib/client_methods.rb
# Validates the order information provided by a user and returns the available shipping options for a flexible
#   invoice.
#
# @param chat_id [Integer] Chat identifier of the Invoice message.
# @param message_id [Integer] Message identifier.
# @param order_info [TD::Types::OrderInfo, nil] The order information, provided by the user; pass null if empty.
# @param allow_save [Boolean] True, if the order information can be saved.
# @return [TD::Types::ValidatedOrderInfo]
Validates the order information provided by a user and returns the available shipping options for a flexible
invoice.
Validates the order information provided by a user and returns the available shipping options for a flexible invoice .
def validate_order_info(chat_id:, message_id:, order_info: nil, allow_save:)
    broadcast('@type'      => 'validateOrderInfo',
              'chat_id'    => chat_id,
              'message_id' => message_id,
              'order_info' => order_info,
              'allow_save' => allow_save)
  end
def validate_order_info ( chat_id : , message_id : , order_info : nil , allow_save : ) broadcast ( '@type' => 'validateOrderInfo' , 'chat_id' => chat_id , 'message_id' => message_id , 'order_info' => order_info , 'allow_save' => allow_save ) end
Validates the order information provided by a user and returns the available shipping options for a flexible
invoice.
Validates the order information provided by a user and returns the available shipping options for a flexible invoice .
None
TD::Types::ValidatedOrderInfo
chat_id
Chat identifier of the Invoice message.
Chat identifier of the Invoice message .
message_id
None
order_info
The order information, provided by the user; pass null if empty.
The order information provided by the user ; pass null if empty .
allow_save
True, if the order information can be saved.
True if the order information can be saved .