auth.AcceptLoginToken#

class pyrogram.raw.functions.auth.AcceptLoginToken#

Accept QR code login token, logging in the app that generated it. Returns info about the new session. For more info, see login via QR code.

Usable by ✅ Users ❌ Bots
Details:
  • Layer: 227

  • ID: E894AD4D

Parameters:

token (bytes) – Login token embedded in QR code, for more info, see login via QR code.

Returns:

Authorization