mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 11:46:55 +01:00
817 B
817 B
title | description |
---|---|
updateOption | Some option changed its value |
Constructor: updateOption
Some option changed its value
Attributes:
Name | Type | Required | Description |
---|---|---|---|
name | string | Yes | Option name |
value | OptionValue | Yes | New option value |
Type: Update
Example:
$updateOption = ['_' => 'updateOption', 'name' => 'string', 'value' => OptionValue];
PWRTelegram json-encoded version:
{"_": "updateOption", "name": "string", "value": OptionValue}
Or, if you're into Lua:
updateOption={_='updateOption', name='string', value=OptionValue}