DcOption

class pyrogram.api.types.DcOption(id: int, ip_address: str, port: int, ipv6: bool = None, media_only: bool = None, tcpo_only: bool = None, cdn: bool = None, static: bool = None, secret: bytes = None)
ID

0x18b7a10d

Parameters:
  • idint 32-bit
  • ip_addressstr
  • portint 32-bit
  • ipv6 (optional) – bool
  • media_only (optional) – bool
  • tcpo_only (optional) – bool
  • cdn (optional) – bool
  • static (optional) – bool
  • secret (optional) – bytes