LoginToken

class pyrogram.raw.base.auth.LoginToken

Login token (for QR code login).

Constructors

This base type has 3 constructors available.

auth.LoginToken

Login token (for QR code login).

auth.LoginTokenMigrateTo

Repeat the query to the specified DC.

auth.LoginTokenSuccess

Login via token (QR code) succeded!.

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.