auth.exportLoginToken
Generate a login token, for login via QR code.
Generate a login token, for [login via QR code](https://core.telegram.org/api/qr-login.md). The generated login token should be encoded using base64url, then shown as a `tg://login?token=base64encodedtoken` [deep link »](https://core.telegram.org/api/links.md#qr-code-login-links) in the QR code.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
api_id | int | はい | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |
api_hash | string | はい | Application identifier hash (see. [App configuration](https://core.telegram.org/myapp)) |
except_ids | Vector<long> | はい | List of already logged-in user IDs, to prevent logging in twice with the same user |
レスポンス
auth.LoginToken
MTProto RPC
- 400 · API_ID_INVALID — API ID invalid.
- 400 · API_ID_PUBLISHED_FLOOD — This API id was published somewhere, you can't use it now.
- 500 · AUTH_RESTART — Restart the authorization process.