MadelineProto/old_docs/API_docs_v45/constructors/updateDcOptions.md
2017-07-23 16:33:46 +02:00

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}}