LoginTokenSuccess

class pyrogram.raw.types.auth.LoginTokenSuccess

Login via token (QR code) succeded!.

Constructor type of LoginToken.

Details
  • Layer: 122

  • ID: 0x390d5c5e

Parameters

authorization (auth.Authorization) – Authorization info.

Methods

This object can be returned by 2 methods:

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.