lib/tdlib/client_methods.rb
# Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.
#
# @param hash [TD::Types::String] Hash value from the link.
# @param phone_number [TD::Types::String] Phone number value from the link.
# @param settings [TD::Types::PhoneNumberAuthenticationSettings] Settings for the authentication of the user's phone
#   number; pass null to use default settings.
# @return [TD::Types::AuthenticationCodeInfo]
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation .
def send_phone_number_confirmation_code(hash:, phone_number:, settings:)
    broadcast('@type'        => 'sendPhoneNumberConfirmationCode',
              'hash'         => hash,
              'phone_number' => phone_number,
              'settings'     => settings)
  end
def send_phone_number_confirmation_code ( hash : , phone_number : , settings : ) broadcast ( '@type' => 'sendPhoneNumberConfirmationCode' , 'hash' => hash , 'phone_number' => phone_number , 'settings' => settings ) end
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation .
None
TD::Types::AuthenticationCodeInfo
hash
Hash value from the link.
Hash value from the link .
phone_number
Phone number value from the link.
Phone number value from the link .
settings
Settings for the authentication of the user's phone number; pass null to use default settings.
Settings for the authentication of the user ' s phone number ; pass null to use default settings .