RegisterDevice

class pyrogram.api.functions.account.RegisterDevice(token_type: int, token: str, app_sandbox: bool, secret: bytes, other_uids: list)
ID

0x5cbea590

Parameters:
  • token_typeint 32-bit
  • tokenstr
  • app_sandboxbool
  • secretbytes
  • other_uids – List of int 32-bit
Raises:

Error

Returns:

bool