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

712 B

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

Constructor: jsonString

Back to constructors index

Json string

Attributes:

Name Type Required Description
value string Yes Value

Type: JSONValue

Example:

$jsonString = ['_' => 'jsonString', 'value' => 'string'];

PWRTelegram json-encoded version:

{"_": "jsonString", "value": "string"}

Or, if you're into Lua:

jsonString={_='jsonString', value='string'}