MadelineProtoDocs/old_docs/API_docs_v75/constructors/updateDcOptions.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

808 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]];

PWRTelegram json-encoded version:

{"_": "updateDcOptions", "dc_options": [DcOption]}

Or, if you're into Lua:

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