Contains info about a sent verification code.
Constructor type of
auth.SentCodeType) – Phone code type.
str) – Phone code hash, to be stored and later re-used with auth.signIn.
auth.CodeType, optional) – Phone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendCode.
32-bit, optional) – Timeout for reception of the phone code.
This object can be returned by 5 methods:
Send the verification code for login.
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.
Verify a new phone number to associate to the current account.
Send confirmation code to cancel account deletion.
Send the verification phone code for telegram passport.