1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:56:57 +01:00
MadelineProto/old_docs/API_docs_v23/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}, }