MadelineProtoDocs/old_docs/API_docs_v86/constructors/help.passportConfig.md
2019-12-27 18:46:25 +01:00

1.0 KiB

title description image redirect_from
help.passportConfig Telegram [passport](https://core.telegram.org/passport) configuration https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/help_passportConfig.html

Constructor: help.passportConfig

Back to constructors index

Telegram passport configuration

Attributes:

Name Type Required Description
hash int Yes Hash for pagination, for more info click here
countries_langs DataJSON Yes Localization

Type: help.PassportConfig

Example:

$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON];

Or, if you're into Lua:

help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON}