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>.
| Name | Type | Description |
|---|---|---|
| phone_number | string | The phone number of the user, in international format. |
| settings | phoneNumberAuthenticationSettings | Settings for the authentication of the user's phone number; pass null to use default settings. |
More details on telegram's documentation.