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

1.0 KiB

title description image
help.configSimple Config simple https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: help.configSimple

Back to constructors index

Config simple

Attributes:

Name Type Required Description
date int Yes Date
expires int Yes Expires
rules Array of AccessPointRule Yes Rules

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}}