LoginTokenMigrateTo

class pyrogram.raw.types.auth.LoginTokenMigrateTo

Repeat the query to the specified DC.

Constructor type of LoginToken.

Details
  • Layer: 122

  • ID: 0x68e9916

Parameters
  • dc_id (int 32-bit) – DC ID.

  • token (bytes) – Token to use for login.

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.