auth.LoginTokenMigrateTo#
- class pyrogram.raw.types.auth.LoginTokenMigrateTo#
Repeat the query to the specified DC.
Constructor of
LoginToken
.- Details:
Layer:
158
ID:
68E9916
- Parameters:
dc_id (
int
32-bit
) – DC ID.token (
bytes
) – Token to use for login.
- Functions:
This object can be returned by 2 functions.
Generate a login token, for login via QR code.
Login using a redirected login token, generated in case of DC mismatch during QR code login.