auth.SentCode

Contains info on a confirmation code message sent via SMS, phone call or Telegram.

auth.sentCode#2215bcbd phone_registered:Bool phone_code_hash:string = auth.SentCode;

---functions---

auth.sendCode#d16ff372 phone_number:string sms_type:int api_id:int api_hash:string = auth.SentCode;

Constructors

Constructor Description
auth.sentCode Contains info about a sent verification code.
auth.sentCodeSuccess The user successfully authorized using future auth tokens

Methods

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 ».