MadelineProto/docs/TD_docs/constructors/optionBoolean.md

558 B

title description
optionBoolean Boolean option

Constructor: optionBoolean

Back to constructors index

Boolean option

Attributes:

Name Type Required Description
value Bool Yes Value of an option

Type: OptionValue

Example:

$optionBoolean = ['_' => 'optionBoolean', 'value' => Bool, ];

Or, if you're into Lua:

optionBoolean={_='optionBoolean', value=Bool, }