ApiInterfaces
RawEncryptedMessage
Interface: RawEncryptedMessage
Defined in: api/messaging/types.ts:19
One message envelope as captured from BatchDeltaSync.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
cleartextBody? | string | Cleartext 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 |
conversationId | string | Conversation this message belongs to. | api/messaging/types.ts:21 |
envelope | Uint8Array | Raw 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 |
messageId | bigint | Server message id (varint). | api/messaging/types.ts:25 |
senderUserId | string | Sender's hyphenated UUID. | api/messaging/types.ts:23 |
serverTimestampMs | bigint | Server timestamp (ms since epoch). | api/messaging/types.ts:27 |