MadelineProto/old_docs/API_docs_v70/constructors/updateDcOptions.md

691 B

title description
updateDcOptions updateDcOptions attributes, type and example

Constructor: updateDcOptions

Back to constructors index

Attributes:

Name Type Required
dc_options Array of DcOption Yes

Type: Update

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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