account.saveSecureValue
Securely save Telegram Passport document, for more info see the passport docs »
Securely save [Telegram Passport](https://core.telegram.org/passport.md) document, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption)
| Name | Type | Required | Description |
|---|---|---|---|
value | InputSecureValue | Yes | Secure value, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption) |
secure_secret_id | long | Yes | Passport secret hash, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption) |
Replies
SecureValue
MTProto RPC
- 400 · PASSWORD_REQUIRED — A [2FA password](https://core.telegram.org/api/srp.md) must be configured to use Telegram Passport.
- 400 · SECURE_SECRET_REQUIRED — A secure secret is required.