inputSecureValue
inputSecureValue
Section titled “inputSecureValue”No description provided by the pinned schema.
Signature
Section titled “Signature”inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector<InputSecureFile> files:flags.4?Vector<InputSecureFile> plain_data:flags.5?SecurePlainData = InputSecureValue;Result type
Section titled “Result type”InputSecureValue
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | No description provided by the pinned schema. |
| type | SecureValueType | — | — | No description provided by the pinned schema. |
| data | flags.0?SecureData | flags.0 | — | No description provided by the pinned schema. |
| front_side | flags.1?InputSecureFile | flags.1 | — | No description provided by the pinned schema. |
| reverse_side | flags.2?InputSecureFile | flags.2 | — | No description provided by the pinned schema. |
| selfie | flags.3?InputSecureFile | flags.3 | — | No description provided by the pinned schema. |
| translation | flags.6?Vector | flags.6 | — | No description provided by the pinned schema. |
| files | flags.4?Vector | flags.4 | — | No description provided by the pinned schema. |
| plain_data | flags.5?SecurePlainData | flags.5 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| data | 0 | Controlled by flags; present when this bit is set. |
| front_side | 1 | Controlled by flags; present when this bit is set. |
| reverse_side | 2 | Controlled by flags; present when this bit is set. |
| selfie | 3 | Controlled by flags; present when this bit is set. |
| translation | 6 | Controlled by flags; present when this bit is set. |
| files | 4 | Controlled by flags; present when this bit is set. |
| plain_data | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import InputSecureValuePublic access: miniproto.raw.types.InputSecureValue.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import InputSecureValue
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = InputSecureValueResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
InputSecureValue - Accepted by:
account.saveSecureValue
Provenance
Section titled “Provenance”- layer: 228
- structural source:
tdlib - canonical schema: https://raw.githubusercontent.com/tdlib/td/refs/heads/master/td/generate/scheme/telegram_api.tl
- prose merge precedence: TDLib → Telegram Desktop → Core JSON
- source note: Canonical structure is the pinned TDLib telegram_api.tl; Layer 228 comes only from the matching Telegram Desktop end-of-file marker; core.telegram.org inputs enrich documentation and RPC error metadata without overriding structure.
Source-diff notes
Section titled “Source-diff notes”- tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
- tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery