snapcap
ApiInterfaces

RawEncryptedMessage

Interface: RawEncryptedMessage

Defined in: api/messaging/types.ts:19

One message envelope as captured from BatchDeltaSync.

Properties

PropertyTypeDescriptionDefined in
cleartextBody?stringCleartext content if the conversation is non-E2E (AI bot replies, MEMORIES, etc.) — otherwise undefined. Surfaced when present so consumers can render a message without going through decrypt.api/messaging/types.ts:39
conversationIdstringConversation this message belongs to.api/messaging/types.ts:21
envelopeUint8ArrayRaw envelope bytes — the f3 ContentEnvelope on the ContentMessage proto. Includes the FideliusEncryption sub-message and the AES-GCM-wrapped body.api/messaging/types.ts:33
messageIdbigintServer message id (varint).api/messaging/types.ts:25
senderUserIdstringSender's hyphenated UUID.api/messaging/types.ts:23
serverTimestampMsbigintServer timestamp (ms since epoch).api/messaging/types.ts:27

On this page