MadelineProtoDocs/docs/API_docs/constructors/jsonBool.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

679 B

title description image
jsonBool Json bool https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: jsonBool

Back to constructors index

Json bool

Attributes:

Name Type Required Description
value Bool Yes Value?

Type: JSONValue

Example:

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

PWRTelegram json-encoded version:

{"_": "jsonBool", "value": Bool}

Or, if you're into Lua:

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