mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 13:26:55 +01:00
664 B
664 B
title | description |
---|---|
optionBoolean | Boolean option |
Constructor: optionBoolean
Boolean option
Attributes:
Name | Type | Required | Description |
---|---|---|---|
value | Bool | Yes | Value of an option |
Type: OptionValue
Example:
$optionBoolean = ['_' => 'optionBoolean', 'value' => Bool];
PWRTelegram json-encoded version:
{"_": "optionBoolean", "value": Bool}
Or, if you're into Lua:
optionBoolean={_='optionBoolean', value=Bool}