MadelineProto/docs/TD_docs/constructors/updateOption.md

683 B

title description
updateOption Some option changed its value

Constructor: updateOption

Back to constructors index

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, ];

Or, if you're into Lua:

updateOption={_='updateOption', name=string, value=OptionValue, }