Contains info on a confirmation code message sent via SMS, phone call or Telegram.
auth.sentCode#efed51d9 phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode;
---functions---
auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string lang_code:string = auth.SentCode;
Constructor | Description |
---|---|
auth.sentCode | Contains info about a sent verification code. |
auth.sentCodeSuccess | The user successfully authorized using future auth tokens |
Method | Description |
---|---|
auth.sendCode | Send the verification code for login |
account.sendChangePhoneCode | Verify a new phone number to associate to the current account |
auth.resendCode | Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info. |
account.sendConfirmPhoneCode | Send confirmation code to cancel account deletion, for more info click here » |
account.sendVerifyPhoneCode | Send the verification phone code for telegram passport. |
auth.resetLoginEmail | Reset the login email ». |