MadelineProtoDocs/docs/API_docs/constructors/help.passportConfig.md

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}