DcOption
- class pyrogram.raw.base.DcOption
Information for connection to data center.
- Constructors:
This base type has 1 constructor available.
Data center
TL Schema
dcOption#18b7a10d
flags:#
ipv6:flags.0?true
media_only:flags.1?true
tcpo_only:flags.2?true
cdn:flags.3?true
static:flags.4?true
this_port_only:flags.5?true
id:int
ip_address:string
port:int
secret:flags.10?bytes
= DcOption
Parameter Tree
DcOption
├── ipv6 →
true (optional)├── media_only →
true (optional)├── tcpo_only →
true (optional)├── cdn →
true (optional)├── static →
true (optional)├── this_port_only →
true (optional)├── id →
int├── ip_address →
string├── port →
int└── secret →
bytes (optional)Example
DcOption(
ipv6=None,
media_only=None,
tcpo_only=None,
cdn=None,
static=None,
this_port_only=None,
id=0,
ip_address="text",
port=0,
secret=b"data",
)