MadelineProto/docs/TD_docs/constructors/optionInteger.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

659 B

title description
optionInteger Integer option

Constructor: optionInteger

Back to constructors index

Integer option

Attributes:

Name Type Required Description
value int Yes Value of an option

Type: OptionValue

Example:

$optionInteger = ['_' => 'optionInteger', 'value' => int];

PWRTelegram json-encoded version:

{"_": "optionInteger", "value": int}

Or, if you're into Lua:

optionInteger={_='optionInteger', value=int}