auth.SentCodeSuccess#

class pyrogram.raw.types.auth.SentCodeSuccess#

The user successfully authorized using future auth tokens.

Constructor of SentCode.

Details:
  • Layer: 158

  • ID: 2390FE44

Parameters:

authorization (auth.Authorization) – Authorization info.

Functions:

This object can be returned by 6 functions.

auth.SendCode

Send the verification code for login.

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.

auth.ResetLoginEmail

Reset the login email.

account.SendChangePhoneCode

Verify a new phone number to associate to the current account.

account.SendConfirmPhoneCode

Send confirmation code to cancel account deletion.

account.SendVerifyPhoneCode

Send the verification phone code for telegram passport.