MadelineProto/old_docs/API_docs_v40/constructors/updateDcOptions.md
2017-07-23 16:11:02 +02:00

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