1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 00:56:55 +01:00
MadelineProto/docs/TD_docs/constructors/optionString.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

671 B

title description
optionString String option

Constructor: optionString

Back to constructors index

String option

Attributes:

Name Type Required Description
value string Yes Value of an option

Type: OptionValue

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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