MadelineProtoDocs/old_docs/API_docs_v65/constructors/updateDcOptions.md

686 B

title description image
updateDcOptions Update DC options https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateDcOptions

Back to constructors index

Update DC options

Attributes:

Name Type Required Description
dc_options Array of DcOption Yes DC options

Type: Update

Example:

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

Or, if you're into Lua:

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