MadelineProtoDocs/old_docs/API_docs_v81/constructors/help_configSimple.md
2018-07-12 20:24:55 +02:00

994 B

title description image
help.configSimple help_configSimple attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: help.configSimple

Back to constructors index

Attributes:

Name Type Required
date int Yes
expires int Yes
rules Array of AccessPointRule Yes

Type: help_ConfigSimple

Example:

$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]];

PWRTelegram json-encoded version:

{"_": "help.configSimple", "date": int, "expires": int, "rules": [AccessPointRule]}

Or, if you're into Lua:

help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}}