auth.ExportLoginToken#
- class pyrogram.raw.functions.auth.ExportLoginToken#
Generate a login token, for login via QR code. The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken deep link in the QR code. For more info, see login via QR code.
Usable by ✅ Users ❌ BotsNote
This method may be used by not yet logged in connections.
- Details:
Layer:
224ID:
B7E085FE
- Parameters:
api_id (
int32-bit) – Application identifier (see. App configuration)api_hash (
str) – Application identifier hash (see. App configuration)except_ids (List of
int64-bit) – List of already logged-in user IDs, to prevent logging in twice with the same user
- Returns: