UpdateDcOptions

class pyrogram.raw.types.UpdateDcOptions

Changes in the data center configuration options.

Constructor of Update.

Details:
  • Layer: 223

  • ID: 8E5E9873

Parameters:

dc_options (List of DcOption) – New connection options

TL Schema

updateDcOptions#8e5e9873
dc_options:Vector<DcOption>

= Update

Parameter Tree

UpdateDcOptions
└── dc_optionsVector < DcOption >
└── DcOption
├── ipv6true (optional)
├── media_onlytrue (optional)
├── tcpo_onlytrue (optional)
├── cdntrue (optional)
├── statictrue (optional)
├── this_port_onlytrue (optional)
├── idint
├── ip_addressstring
├── portint
└── secretbytes (optional)

Example

UpdateDcOptions(
    dc_options=[
            DcOption(
                id=0,
                ip_address="text",
                port=0
            )
        ],
)