MadelineProtoDocs/old_docs/API_docs_v27/constructors/help.passportConfig.md
2020-06-16 17:50:25 +02:00

958 B

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