MadelineProtoDocs/old_docs/API_docs_v91/constructors/jsonBool.md
2019-03-08 13:49:23 +01: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}