LoginToken

class pyrogram.types.LoginToken

Contains info on a login token.

Parameters:
  • token (str) – The login token.

  • expires (int) – The expiration date of the token in UNIX format.