lib/tdlib/client_methods.rb
def register_user(first_name:, last_name:)
    broadcast('@type'      => 'registerUser',
              'first_name' => first_name,
              'last_name'  => last_name)
  end
# Finishes user registration.
# Works only when the current authorization state is authorizationStateWaitRegistration.
#
# @param first_name [TD::Types::String] The first name of the user; 1-64 characters.
# @param last_name [TD::Types::String] The last name of the user; 0-64 characters.
# @return [TD::Types::Ok]
Finishes user registration.
Works only when the current authorization state is authorizationStateWaitRegistration.
Finishes user registration . Works only when the current authorization state is authorizationStateWaitRegistration .
def register_user(first_name:, last_name:)
    broadcast('@type'      => 'registerUser',
              'first_name' => first_name,
              'last_name'  => last_name)
  end
def register_user ( first_name : , last_name : ) broadcast ( '@type' => 'registerUser' , 'first_name' => first_name , 'last_name' => last_name ) end
Finishes user registration.
Finishes user registration .
None
TD::Types::Ok
first_name
The first name of the user; 1-64 characters.
The first name of the user ; 1 - 64 characters .
last_name
The last name of the user; 0-64 characters.
The last name of the user ; 0 - 64 characters .