AcceptLoginToken

class pyrogram.raw.functions.auth.AcceptLoginToken

Accept QR code login token, logging in the app that generated it.

Details
  • Layer: 126

  • ID: 0xe894ad4d

Parameters

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

Returns

Authorization – Represents a logged-in session.