lib/tdlib/client_methods.rb
# Sends a Telegram Passport authorization form, effectively sharing data with the service.
# This method must be called after getPassportAuthorizationFormAvailableElements if some previously available
#   elements are going to be reused.
#
# @param autorization_form_id [Integer] Authorization form identifier.
# @param types [Array<TD::Types::PassportElementType>] Types of Telegram Passport elements chosen by user to complete
#   the authorization form.
# @return [TD::Types::Ok]
Sends a Telegram Passport authorization form, effectively sharing data with the service.
This method must be called after getPassportAuthorizationFormAvailableElements if some previously available
elements are going to be reused.
Sends a Telegram Passport authorization form effectively sharing data with the service . This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements are going to be reused .
def send_passport_authorization_form(autorization_form_id:, types:)
    broadcast('@type'                => 'sendPassportAuthorizationForm',
              'autorization_form_id' => autorization_form_id,
              'types'                => types)
  end
def send_passport_authorization_form ( autorization_form_id : , types : ) broadcast ( '@type' => 'sendPassportAuthorizationForm' , 'autorization_form_id' => autorization_form_id , 'types' => types ) end
Sends a Telegram Passport authorization form, effectively sharing data with the service.
Sends a Telegram Passport authorization form effectively sharing data with the service .
None
TD::Types::Ok
autorization_form_id
Authorization form identifier.
Authorization form identifier .
types
Types of Telegram Passport elements chosen by user to complete the authorization form.
Types of Telegram Passport elements chosen by user to complete the authorization form .