accept_login_token()¶
- async Client.accept_login_token()¶
Accept a QR code login token, logging in the app that generated it.
Usable by Users Bots- Parameters:
token (
bytes) – Login token embedded in QR code.- Returns:
Authorization– The authorization object.
Example
auth = await app.accept_login_token(token)