- class pyrogram.raw.types.Authorization#
64-bit) – Identifier.
str) – Device model.
str) – Platform.
str) – System version.
32-bit) – API ID.
str) – App name.
str) – App version.
32-bit) – When was the session created.
32-bit) – When was the session last active.
str) – Last known IP.
str) – Country determined from IP.
str) – Region determined from IP.
bool, optional) – Whether this is the current session.
bool, optional) – Whether the session is from an official app.
bool, optional) – Whether the session is still waiting for a 2FA password.
bool, optional) – Whether this session will accept encrypted chats.
bool, optional) – Whether this session will accept phone calls.
This object can be returned by 1 function.
Accept QR code login token, logging in the app that generated it.