Hex-encoded SHA-256 of the ciphertext (64 hex chars). The preferred content id for blob storage; fetched bytes are verified against it.
OptionaldimOptional <width>x<height> render hint.
Display filename. Feeds the file_key derivation and the AEAD AAD.
One or more ordered locators (locator <kind> <value>). Empty only on the
attachment returned by encryptMediaFile before the blob is uploaded;
a parsed attachment always has at least one.
Canonical media (MIME) type — see canonicalizeMimeType. Feeds the
file_key derivation and the AEAD AAD.
Hex-encoded 12-byte ChaCha20-Poly1305 nonce (exactly 24 hex chars).
Hex-encoded SHA-256 of the plaintext file (64 hex chars). Feeds the
file_key derivation and the AEAD AAD; verified after decryption.
OptionalthumbhashOptional thumbhash preview value.
Always ENCRYPTED_MEDIA_VERSION.
A decoded
encrypted-media-v1attachment (oneimetatag).Built by encryptMediaFile (locators are filled in by the caller after upload), serialized with
encodeMediaImetaTag, and read back withparseMediaImetaTag.