MadelineProto/old_docs/API_docs_v55/constructors/updateDcOptions.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}}