import_login_token()

async Client.import_login_token()

Login using a redirected login token generated in case of DC mismatch during QR code login.

Usable by Users Bots
Parameters:

token (bytes) – Login token.

Returns:

LoginToken – The login token object.

Example

res = await app.import_login_token(token)