auth.LoginTokenMigrateTo
- class pyrogram.raw.types.auth.LoginTokenMigrateTo
Repeat the query to the specified DC
Constructor of
LoginToken.- Details:
Layer:
223ID:
68E9916
- Parameters:
dc_id (
int32-bit) – DC IDtoken (
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.
TL Schema
auth.loginTokenMigrateTo#68e9916
dc_id:int
token:bytes
= auth.LoginToken
Parameter Tree
LoginTokenMigrateTo
├── dc_id →
int└── token →
bytesExample
LoginTokenMigrateTo(
dc_id=0,
token=b"data",
)