Securely save Telegram Passport document, for more info see the passport docs »
Method schema is available as of layer 81. Switch »
| Name | Type | Description |
|---|---|---|
| value | InputSecureValue | Secure value, for more info see the passport docs » |
| secure_secret_id | long | Passport secret hash, for more info see the passport docs » |
| Code | Type | Description |
|---|---|---|
| 400 | PASSWORD_REQUIRED | A 2FA password must be configured to use Telegram Passport. |
| 400 | SECURE_SECRET_REQUIRED | A secure secret is required. |
How to login to a user's account if they have enabled 2FA, how to change password.