Contains info about a sent verification code.
auth.sentCode#efed51d9 phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
type | auth.SentCodeType | Phone code type |
phone_code_hash | string | Phone code hash, to be stored and later re-used with auth.signIn |
next_type | flags.1?auth.CodeType | Phone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendCode |
timeout | flags.2?int | Timeout for reception of the phone code |
Signs in a user with a validated phone number.
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.