mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 06:36:55 +01:00
659 B
659 B
title | description |
---|---|
optionInteger | Integer option |
Constructor: optionInteger
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}