DcOption

class pyrogram.raw.types.DcOption

This object is a constructor of the base type DcOption.

Details:
  • Layer: 120

  • ID: 0x18b7a10d

Parameters
  • id – int 32-bit

  • ip_address – str

  • port – int 32-bit

  • ipv6 (optional) – bool

  • media_only (optional) – bool

  • tcpo_only (optional) – bool

  • cdn (optional) – bool

  • static (optional) – bool

  • secret (optional) – bytes