View Source ExTDLib.Method.SendPhoneNumberVerificationCode (ExTDLib v0.0.4)

Sends a code to verify a phone number to be added to a user's Telegram Passport. Returns object_ptr<AuthenticationCodeInfo>.

NameTypeDescription
phone_numberstringThe phone number of the user, in international format.
settingsphoneNumberAuthenticationSettingsSettings for the authentication of the user's phone number; pass null to use default settings.

More details on telegram's documentation.