auth.LoginTokenSuccess#

class pyrogram.raw.types.auth.LoginTokenSuccess#

Login via token (QR code) succeeded!.

Constructor of LoginToken.

Details:
  • Layer: 158

  • ID: 390D5C5E

Parameters:

authorization (auth.Authorization) – Authorization info.

Functions:

This object can be returned by 2 functions.

auth.ExportLoginToken

Generate a login token, for login via QR code.

auth.ImportLoginToken

Login using a redirected login token, generated in case of DC mismatch during QR code login.