MadelineProtoDocs/old_docs/API_docs_v35/constructors/updateDcOptions.md
2020-06-16 17:50:25 +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}}