mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
32 lines
868 B
Markdown
32 lines
868 B
Markdown
|
---
|
||
|
title: "help.passportConfig"
|
||
|
description: "Telegram passport configuration"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
redirect_from: /API_docs/constructors/help_passportConfig.html
|
||
|
---
|
||
|
# Constructor: help.passportConfig
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Telegram [passport](https://core.telegram.org/passport) configuration
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|hash|[int](/API_docs/types/int.html) | Yes|
|
||
|
|countries\_langs|[DataJSON](/API_docs/types/DataJSON.html) | Yes|Localization|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [help.PassportConfig](/API_docs/types/help.PassportConfig.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON];
|
||
|
```
|