MadelineProtoDocs/old_docs/API_docs_v42/constructors/updateDcOptions.md
2020-09-12 12:47:38 +02:00

762 B

title description image
updateDcOptions Changes in the data center configuration options. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateDcOptions

Back to constructors index

Changes in the data center configuration options.

Attributes:

Name Type Required Description
dc_options Array of DcOption Yes New connection options

Type: Update

Example:

$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]];

Or, if you're into Lua:

updateDcOptions={_='updateDcOptions', dc_options={DcOption}}