MadelineProtoDocs/docs/API_docs/constructors/help_configSimple.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

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