DcOption
- class pyrogram.raw.types.DcOption
Data center
Constructor of
DcOption
.- Details:
Layer:
194
ID:
18B7A10D
- Parameters:
id (
int
32-bit
) – DC IDip_address (
str
) – IP address of DCport (
int
32-bit
) – Portipv6 (
bool
, optional) – Whether the specified IP is an IPv6 addressmedia_only (
bool
, optional) – Whether this DC should only be used to download or upload filestcpo_only (
bool
, optional) – Whether this DC only supports connection with transport obfuscationcdn (
bool
, optional) – Whether this is a CDN DC.static (
bool
, optional) – If set, this IP should be used when connecting through a proxythis_port_only (
bool
, optional) – If set, clients must connect using only the specified port, without trying any other port.secret (
bytes
, optional) – If the tcpo_only flag is set, specifies the secret to use when connecting using transport obfuscation