UpdateDcOptions

class pyrogram.raw.types.UpdateDcOptions

Changes in the data center configuration options.

Constructor of Update.

Details:
  • Layer: 227

  • ID: 8E5E9873

Parameters:

dc_options (List of DcOption) – New connection options

TL Schema

updateDcOptions#8e5e9873
dc_options:Vector<DcOption>

= Update

Parameter Tree

UpdateDcOptions
└── dc_options → Vector < DcOption >
└── 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

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