Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.
Chat is an OxiMail JMAP extension (https://oximail.ch/jmap/chat, with polls, custom-emoji, and mentions as sibling capability objects): the same request model, state strings, and push as every other domain, so a JMAP client gets chat with the machinery it already has. Real-time delivery rides the JMAP WebSocket.
Objects and methods
Object
Methods
Notes
ChatRoom
get, set, query, queryChanges, changes
Direct and group rooms; membership is a list of Principal ids.
ChatRoomDirectory
get, query
The groups and channels of the organization a person may ask to enter, in a reduced, read-only projection — see the room directory.
”Remind me about this message” — personal, invisible to the room.
CustomEmoji
get, set, query, changes
Organization-scoped emoji, of two kinds: emoji (an inline glyph, 100 KB) or sticker (a 128 to 256 px visual sent as a message of its own, 256 KB); an unknown kind is refused, never defaulted. Adding stays open to every member; an administrator can switch custom emojis off for the organization (Tenant/set customEmojiEnabled), and their number is bounded (maxEmojisPerTenant, 5000, advertised).
ChatDraft
get, set, changes
A per-room draft that follows the account across devices.
ChatNotificationRule
get, set
A singleton per account: keywordHighlights (server-side matching, capped by maxKeywordHighlights) and mutedSenders (a notification rule, not a block).
The body of a message or a room is content: the client’s own JSON envelope (text, attachments, any key of the client’s), sent as an array of bytes or a base64 string and served as an array of bytes, stored verbatim and round-tripped untouched, with the server-managed keys (reactions, transcript) merged in. It is plaintext: the server reads a message’s text for the room preview, search, mentions and link unfurls. Its former name, encryptedContent, described an encryption that was never built; it is no longer served, and a ChatMessage/set or ChatRoom/set that carries it is refused with invalidProperties naming the rename.Attachments are standard JMAP blobs. What a room shares (a message’s images and files, the room avatar) is uploaded at the organization’s scope (/jmap/upload-tenant), but it is served to whoever holds it, not to the whole organization: its uploader, or a member one of whose own copies references it (a room or trashed room carrying it as avatar, a message flagged as carrying an attachment whose body names it under blobId). Everyone else gets the 404 of an absent blob, so a former member or a member of another room who kept the id reads nothing. Custom emoji, the organization logo and directory photos stay published to every member.
A write can only cite a file its writer can read.ChatMessage/set (create and update), ChatRoom/set avatarBlobId (create and update) and CustomEmoji/set create check every blob they name by the download rule above; citing someone else’s attachment by its id is refused with invalidProperties, in the same words whether the blob is unreadable or does not exist, so the answer tells nothing about which files the organization holds. An attachment the message already carried passes an edit; under a shared account the delegate’s own reach counts too.
A file dropped in the composer and never sent does not stay. The daily sweep of never-attached uploads covers organization-scoped blobs: one referenced nowhere in the organization after 24 hours is released, whoever uploaded it.
A room destroyed by its owner goes to the trash
Until September a group or channel destroyed by its owner erased every member copy, message, receipt and key in one gesture, with no way back but a manual graft from a backup. ChatRoom/set destroy now moves the room to a trash: every member copy leaves the live tables at once and nothing is deleted. On the wire the owner keeps reading the room (Updated, isTrashed: true), every other member loses it (Destroyed), and everybody loses the messages, which nobody reads in the trash. The owner restores it with ChatRoom/set update {isTrashed: false} and nothing else; isTrashed: true is refused (the trash is reached through destroy), any other patch of a trashed room is refused, and a member who does not own it gets notFound as for any room they cannot see. The capability advertises roomTrash: true so a client tells a server that keeps the room from one that used to erase it.Destroying asks for a typed confirmation (onDestroyConfirm, a map of room id to what the user typed): the room’s name as shown, or its member count when it has none, compared after NFC normalisation, trimmed edges and collapsed inner spaces. A wrong confirmation is refused; an absent one is recorded in the audit row and let through, this being a guard against a slip of the hand, not an authorization. Leaving or hiding a room never asks. A trashed room is restorable for the purge horizon the operator sets, and the automatic sweep never destroys anything after an unacknowledged restore nor during a backup (room trash, operator side).Who did what is in the audit log. Destroying a room, removing a member, changing a role and moderating a message are acts that take something from others; each writes an administration-log line with its author, the address it came from and the session, where change_log carries no author and the log used to know nothing of chat (compliance).
The room directory
A group or channel whose owner sets allowKnocking: true accepts a request to enter: a person outside the room writes their own membershipStates/<their principal id>: "knocking" with ChatRoom/set, in an update of its own, and an owner accepts it (invited or joined) or refuses it by removing the entry. A knock used to need a room id learnt elsewhere, a door nobody could see. ChatRoomDirectory is where such a room can be found, and the one place a room’s existence reaches someone who is not in it.
Which rooms. The allowKnocking groups and channels of the caller’s organization, never a direct room, a trashed room, a room the caller is already in or one they are banned from.
What it shows, and only that.id (the one a knock names), roomType (group or channel), name (null when there is none), description (empty when there is none), memberCount (how many, never who) and knocking (the caller already asked). The last message, the participants, the roles and the membership map are member data and never appear; properties is a closed vocabulary, an unknown name being invalidArguments. It is a type of its own, not a widening of ChatRoom/query, whose result only ever holds the caller’s rooms.
No oracle.ChatRoomDirectory/get with ids: null returns the caller’s whole directory; an id absent from it is in notFound whatever the reason (closed to requests, banned, unknown, or already the caller’s room).
Query.ChatRoomDirectory/query filters on text (a case-insensitive substring of the name or the description) and roomType, and sorts by name only (then id, a room without a name last); any other comparator is unsupportedSort.
No /changes. The directory spans the organization and has no change log of its own, so its state and queryState are a digest of what it shows and canCalculateChanges is false: a client reads it again when it shows it.
The chat capability announces roomDirectory: true, so a client offers “browse rooms” only on a server that has it, instead of probing ChatRoomDirectory/get at every start and getting unknownMethod from an older one.
Voice message transcripts
A voice message is an ordinary message whose envelope carries exactly one audio/* attachment. Its transcript is carried by the server, not by each client: ChatMessage/transcribe {accountId, id} makes the server compute it once per message, and it is written under the server-managed transcript key of content on every member’s copy, the way reactions is. The room preview (when the message has no text), the notification body and full-text search read it, which a transcript made on one device could never feed.
The response is {accountId, id, transcript, submitted}. A done transcript is returned as is (submitted: false); otherwise the server writes pending on every copy (each member sees a ChatMessage state change), hands the audio to its engine once and answers submitted: true, and the final state arrives as another state change. Only done carries text; failed carries the engine’s error and may be asked again.
Without an engine the instance says so. A server with no speech engine writes failed with "no transcription engine", never silence; the provenance fields (provider, endpointHost, residencyTier) say where the audio went when one ran.
requestedBy names who asked by principal id, the identity every other chat field names people by, so any member can resolve it.
Errors: invalidArguments when the caller holds no such message or a transcription is already pending; invalidProperties (id) when the message is not a voice message; forbidden over a shared account, or when the instance policy is never.
The instance policy is the operator’s [chat] transcript_policy, advertised nowhere: on-demand (the default, the first member who asks), always (transcribed at ingestion, by an engine only an extended build carries) or never.
Threads and notifications
A thread is followed or left explicitly.ChatMessage/get serves threadFollowed on a thread root (false on a reply, which has no thread of its own). ChatMessage/set update {threadFollowed: true | false} on one’s own copy of the root, in an update of its own, follows or leaves it; on a reply it is refused with invalidProperties. Leaving forgets the thread’s unread state and takes it out of the myThreads view; replying, being mentioned or marking the thread unread follows it again.
A reply notifies the thread’s followers only, by push and WebSocket frame alike; a root message notifies the whole room. A scheduled message follows the same rule when it goes out.
A room’s notification preference is applied by the server.ChatRoom.notificationPref (all, mentions or nothing, per member) gates the notification before it is emitted, so it holds for the Web Push of a closed app as for the in-app frame: nothing never notifies, mentions only when the message highlights for that member (a mention, a room-wide mention, a keyword rule, never from a muted sender), and a value the server does not know notifies rather than silence someone.
A channel or group notification says who writes. The title is the sender, with the room in parentheses (Alice (#general), Alice (Project X), Alice in a direct or unnamed room), so a client that hides the preview keeps the body private and still names the sender; entity.authorPrincipalId carries the author’s principal id.
A thread query filters like any other.ChatMessage/query {inThread} honours sendStatuses (by default sent only, so a scheduled reply does not show in the thread before its send time), text, isRoot and hasThread; the root stays in the result only when it matches.
Calls in the room
A call anchored on a room (Meet) leaves its trace there: the server writes one call message per session, a ChatMessage whose call carries the summary, so unread counts, the room list, offline reading, search and every device come from the message machinery a client already has.
When it is written. When the session has ended; in a direct room, as soon as the ring of the only callee is over unanswered while the caller still waits, since a missed call must not wait for the caller to hang up (a later join does not rewrite it). A meeting whose conversation was never opened has no room, and gets no message rather than an invented conversation.
What it says.media is audio for an audio-only session and video otherwise; startedAt is when a second participant joined (null when nobody did) and durationSeconds is 0 then; answeredPrincipalIds holds who was in the call, the initiator included once someone else joined; missedPrincipalIds who was rung and never joined before the ring ended; declinedPrincipalIds who declined and did not join afterwards. Each reader learns from it whether they took the call, and a client writes “missed call” for a principal of missedPrincipalIds, the call and its duration for the others.
Unread only for who missed it. The message raises the unread counts of the accounts in missedPrincipalIds only; for everyone else it is read when it is written.
The server’s, not the client’s. Its author is the call’s initiator and its content is null; its content, mentions and poll cannot be changed (forbidden), it can be pinned or redacted like any message, and a client that sends call gets invalidProperties.
The room list knows.ChatRoom.lastMessageCall carries the same summary while the call message is the room’s last, and turns null with the next message. A call message leaves lastMessagePreviewnull, and a room list loads no message, so this is what lets a client write “missed call” on the room’s line, and tell a call from a last message whose body the server cannot read, instead of announcing a new message. It is server-set (refused on ChatRoom/set), always on the wire, null included, so a push patch can clear it, and projectable like every ChatRoom property. Rooms whose last message was already a call message got their summary at migration.
An open tab learns that its ring ended. The Web Push that says so is skipped while a tab is open; the WebSocket carries its sibling instead, a Notification of categorycall whose entity is {sessionId, ringing: false, outcome}, outcome being answered, declined or missed. The caller reads whose ring went unanswered in MeetSession.missed instead of ringing on.
Message queries
ChatMessage/query pages as RFC 8620 §5.5 says, whatever the scope (a room, inThread, a text search, isSaved, myThreads):
An anchor must be in the result. An anchor outside the result of the filter, or unknown, is anchorNotFound, where it used to be read as a cursor or end in a serverFail. anchorOffset is applied in full and clamped at 0, position in the answer is the index of the first id returned, and every page keeps the order of the sort.
A thread read from an anchor lists that thread alone. With inThread and anchor, the query used to page through the whole room around the anchor while its total counted the thread; and a text search read from an anchor failed. Every page and the total now select through one predicate.
calculateTotal is honoured on every scope. A search by room or across rooms (roomId, accessibleByMe) answers the total it was asked for, counted over every match and not only the page shown; it used to be absent in silence outside isSaved and myThreads. It is counted only when asked.
Transport and liveness
WebSocket (/jmap/ws): method calls and push over one socket. Typing indicators are WS frames outside the JMAP request model — scoped to the room’s members only and throttled to one frame per 3 s per (room, account); stop events always pass so indicators clear.
Presence carries a note. Next to the four-state status, a free-text note with an optional emoji (”🌴 back on the 12th”) is set by a ChatCustomStatus frame of its own (text, emoji; an empty text and no emoji clears it), because folding it into the presence frame would make an absent field mean either “unchanged” or “clear me”. It is ephemeral like the rest of presence, lost on restart, served as customStatus (null when there is none) in ChatPresence broadcasts and ChatPresenceResponse alike. The chat capability announces it, customStatus: true with maxCustomStatusChars (100) and maxCustomStatusEmojiChars (16), referenced from the constants the validator applies, so a client negotiates rather than emitting and swallowing a refusal; a note too long is refused, never truncated.
Liveness is re-checked. The socket’s auth anchor (the device session) is re-validated periodically; a session that was revoked or expired closes with 4401 so the client reconnects cleanly, instead of lingering half-dead (chat flowing, HTTP fetches failing). Routine token rotation never disconnects a healthy client.
Capacity caps
The chat capability object advertises the enforced quotas as data — {maxRoomsPerAccount: 100, maxParticipantsPerRoom: 200, maxMessageSizeOctets: 65536, maxPinnedPerRoom: 50, maxReadReceiptLiveMembers: 20} — so clients bound their behaviour before hitting overQuota/tooLarge (multi-tenancy). maxPinnedPerRoom caps pinned messages per room; message size bounds the serialized create object, content envelope included; maxReadReceiptLiveMembers is explained under read receipts.
Read receipts
ChatReadReceipt is a per-member read cursor — the id of the last message that member has read — and it is what a client renders as a row of reader avatars under a message.
A cursor only ever moves forward.ChatReadReceipt/set refuses an explicit lastReadMessageId older than the stored one with invalidProperties, before any write, so a refused entry leaves both the cursor and the unread badge untouched. To make a room unread again, use destroy — that is the supported direction. When the cursor was defaulted rather than sent by the caller (which happens on its own when the newest message is destroyed), it is never an error: the stored cursor wins, and the response reports the cursor the server holds, not the older one it was handed.
A read notifies the other members, live. Marking a room read queues a ChatReadReceipt state change for every other member, so their “seen by” surface follows the read instead of being correct on load and frozen afterwards. Two bounds apply: a channel that keeps its cursors hidden notifies nobody, and a room larger than maxReadReceiptLiveMembers (default 20) notifies nobody either — one read notifies every other member, so the volume grows with the square of the room size. Past that ceiling the cursors stay exact and ChatReadReceipt/get still returns them all; they simply refresh on the next fetch rather than within the second.
Direct and group rooms return every member’s receipt. A channel does not, unless it opts in. The reasoning behind closing a channel’s cursors is that a large broadcast room would leak reading patterns — true there, and false for the small team channel where “who has seen this” is the point of posting. So ChatRoom carries readReceiptsVisible: false by default (privacy stays the default, and existing rooms keep their behaviour), settable by an owner only, and a shared room property rather than a per-member preference — it decides what the room discloses about its members, so one member cannot answer it for themselves. Setting it on a direct or group room is refused rather than stored, because those rooms already return every receipt and a stored value there would be a promise nothing keeps.
A member can read without signalling, in direct and group rooms, reciprocally. The account preference chat.sendReadReceipts (Preferences/set, true by default) switched off, the member’s cursor still advances (it is their unread state) but it is served to nobody and notifies nobody; in return, that member’s ChatReadReceipt/get returns their own cursors and nobody else’s. Channels keep readReceiptsVisible.
Scheduled send and link unfurls
Two sibling capabilities advertise ChatMessage extension surfaces:
https://oximail.ch/jmap/scheduled-send — a ChatMessage/set create may carry scheduledAt; the message holds with a sendStatus until the server-side scheduler delivers it (same scheduler as calendar alerts).
https://oximail.ch/jmap/link-unfurl — the server populates link previews on messages (fetched server-side behind an SSRF guard; clients never fetch third-party URLs themselves).
ChatMessage.unfurls is an array of typed objects, appended to as each URL in the body resolves, and absent while a message has no URLs or no unfurl has resolved yet:
Every field but url is optional and omitted when the source page did not provide it. Storage remains a JSON blob in one column, but that is an implementation detail the wire no longer leaks: this property used to be projected as the column verbatim, an array of raw byte values ([91, 123, 34, …]), which cost roughly four characters on the wire per useful byte and made every client reimplement bytes → UTF-8 → parse for data the server produces and understands entirely. Decoding now happens once, server-side, where a blob that cannot be parsed fails loudly instead of being silently replaced by an empty list.
content stays an array of bytes on the wire for another reason: it is the client’s own envelope, stored verbatim so that keys the server does not know round-trip untouched. unfurls is data the server produces, so it is served as data.
Behaviours worth knowing
Fan-out is materialized: a room message writes one row per member, which is what the caps bound — and why membership, message, and change-log writes are transactional (/changes can never miss a committed message).
Mentions are structural (@principal as data, not string scanning), so renames do not break them and clients render them reliably.
Message edits keep history; edit-history references are tracked by blob GC, so an edited attachment never becomes a dangling reference.
Scheduled messages and reminders run through the same server-side scheduler as calendar alerts.
A reaction is bounded at 64 characters, composed emoji intact; every free-text input of the surface has a bound, and this one used to be the exception.
Creating a room refuses what updating one refused. Both ChatRoom/set arms reject an unknown property by name; create used to read the keys it knew and report success over the rest. ChatMessage and ChatRoom each declare one write vocabulary, checked before the handler runs: an unknown property is refused by name, and the server-set sendStatus, sentAt and authorPrincipalId of a message are refused with their reason.
No end-to-end encryption is served. The keySlots surface that once let a client deposit a room key wrapped for each member is retired (zero rows measured on six instances), and a ChatRoom or ChatMessage created with an encryptionScheme other than none is refused with invalidProperties, instead of being stored and indexed as clear text under a label that said otherwise.
Strictness rules are identical to the mail surface.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OxiMail","colors":{"primary":"#2563EB"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"fr","href":"fr"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"silbox","hasAudioNarration":false,"actualSubdomain":"silbox","customDomains":["docs.oximail.ch"],"gitSource":{"type":"github","owner":"oximail","repo":"oximail-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0bfd7f9f36d325e1aba0cf","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"en","tag":"Operator Manual","count":21},{"language":"fr","tag":"Guide d'administration","count":21},{"language":"en","tag":"Developer / JMAP API","count":13},{"language":"fr","tag":"Développeur / API JMAP","count":13},{"language":"en","tag":"Get Started","count":5},{"language":"en","tag":"Architecture Reference","count":5},{"language":"en","tag":"Reference","count":5},{"language":"fr","tag":"Démarrer","count":5},{"language":"fr","tag":"Référence d'architecture","count":5},{"language":"fr","tag":"Référence","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"developer/jmap-chat","slug":"/developer/jmap-chat","pageMetadata":{"title":"Chat","description":"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.","href":"/developer/jmap-chat"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Chat is an OxiMail JMAP extension (`,_jsx(_components.code,{children:`https://oximail.ch/jmap/chat`}),`, with `,_jsx(_components.code,{children:`polls`}),`, `,_jsx(_components.code,{children:`custom-emoji`}),`, and `,_jsx(_components.code,{children:`mentions`}),` as sibling capability objects): the same request model, state strings, and push as every other domain, so a JMAP client gets chat with the machinery it already has. Real-time delivery rides the JMAP WebSocket.`]}),`\n`,_jsx(Heading,{level:`2`,id:`objects-and-methods`,children:`Objects and methods`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Object`}),_jsx(_components.th,{children:`Methods`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatRoom`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`queryChanges`}),`, `,_jsx(_components.code,{children:`changes`})]}),_jsx(_components.td,{children:`Direct and group rooms; membership is a list of Principal ids.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatRoomDirectory`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`query`})]}),_jsxs(_components.td,{children:[`The groups and channels of the organization a person may ask to enter, in a reduced, read-only projection — see `,_jsx(_components.a,{href:`#the-room-directory`,children:`the room directory`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatMessage`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`queryChanges`}),`, `,_jsx(_components.code,{children:`changes`}),`, `,_jsx(_components.code,{children:`transcribe`})]}),_jsxs(_components.td,{children:[`Messages, with editing (patch semantics), structural mentions, threads, and the server-carried transcript of a `,_jsx(_components.a,{href:`#voice-message-transcripts`,children:`voice message`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatReadReceipt`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`})]}),_jsxs(_components.td,{children:[`Per-member read state — see `,_jsx(_components.a,{href:`#read-receipts`,children:`read receipts`}),` below.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatPersonalReminder`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`changes`})]}),_jsx(_components.td,{children:`”Remind me about this message” — personal, invisible to the room.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CustomEmoji`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`changes`})]}),_jsxs(_components.td,{children:[`Organization-scoped emoji, of two `,_jsx(_components.code,{children:`kind`}),`s: `,_jsx(_components.code,{children:`emoji`}),` (an inline glyph, 100 KB) or `,_jsx(_components.code,{children:`sticker`}),` (a 128 to 256 px visual sent as a message of its own, 256 KB); an unknown kind is refused, never defaulted. Adding stays open to every member; an administrator can switch custom emojis off for the organization (`,_jsx(_components.code,{children:`Tenant/set customEmojiEnabled`}),`), and their number is bounded (`,_jsx(_components.code,{children:`maxEmojisPerTenant`}),`, 5000, advertised).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatDraft`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`changes`})]}),_jsx(_components.td,{children:`A per-room draft that follows the account across devices.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ChatNotificationRule`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`})]}),_jsxs(_components.td,{children:[`A singleton per account: `,_jsx(_components.code,{children:`keywordHighlights`}),` (server-side matching, capped by `,_jsx(_components.code,{children:`maxKeywordHighlights`}),`) and `,_jsx(_components.code,{children:`mutedSenders`}),` (a notification rule, not a block).`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Poll`}),` / `,_jsx(_components.code,{children:`PollVote`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get`}),`, `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`changes`}),` (votes: `,_jsx(_components.code,{children:`set`}),`, `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`changes`}),`)`]}),_jsx(_components.td,{children:`Polls in rooms.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`message-body-and-attachments`,children:`Message body and attachments`}),`\n`,_jsxs(_components.p,{children:[`The body of a message or a room is `,_jsx(_components.code,{children:`content`}),`: the client’s own JSON envelope (`,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`attachments`}),`, any key of the client’s), sent as an array of bytes or a base64 string and served as an array of bytes, stored verbatim and round-tripped untouched, with the server-managed keys (`,_jsx(_components.code,{children:`reactions`}),`, `,_jsx(_components.code,{children:`transcript`}),`) merged in. It is plaintext: the server reads a message’s `,_jsx(_components.code,{children:`text`}),` for the room preview, search, mentions and link unfurls. Its former name, `,_jsx(_components.code,{children:`encryptedContent`}),`, described an encryption that was never built; it is no longer served, and a `,_jsx(_components.code,{children:`ChatMessage/set`}),` or `,_jsx(_components.code,{children:`ChatRoom/set`}),` that carries it is refused with `,_jsx(_components.code,{children:`invalidProperties`}),` naming the rename.`]}),`\n`,_jsxs(_components.p,{children:[`Attachments are standard JMAP blobs. What a room shares (a message’s images and files, the room avatar) is uploaded at the organization’s scope (`,_jsx(_components.code,{children:`/jmap/upload-tenant`}),`), but it is `,_jsx(_components.strong,{children:`served to whoever holds it, not to the whole organization`}),`: its uploader, or a member one of whose own copies references it (a room or trashed room carrying it as avatar, a message flagged as carrying an attachment whose body names it under `,_jsx(_components.code,{children:`blobId`}),`). Everyone else gets the `,_jsx(_components.code,{children:`404`}),` of an absent blob, so a former member or a member of another room who kept the id reads nothing. Custom emoji, the organization logo and directory photos stay published to every member.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A write can only cite a file its writer can read.`}),` `,_jsx(_components.code,{children:`ChatMessage/set`}),` (create and update), `,_jsx(_components.code,{children:`ChatRoom/set avatarBlobId`}),` (create and update) and `,_jsx(_components.code,{children:`CustomEmoji/set`}),` create check every blob they name by the download rule above; citing someone else’s attachment by its id is refused with `,_jsx(_components.code,{children:`invalidProperties`}),`, in the same words whether the blob is unreadable or does not exist, so the answer tells nothing about which files the organization holds. An attachment the message already carried passes an edit; under a shared account the delegate’s own reach counts too.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A file dropped in the composer and never sent does not stay.`}),` The daily sweep of never-attached uploads covers organization-scoped blobs: one referenced nowhere in the organization after 24 hours is released, whoever uploaded it.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-room-destroyed-by-its-owner-goes-to-the-trash`,children:`A room destroyed by its owner goes to the trash`}),`\n`,_jsxs(_components.p,{children:[`Until September a group or channel destroyed by its owner erased every member copy, message, receipt and key in one gesture, with no way back but a manual graft from a backup. `,_jsx(_components.code,{children:`ChatRoom/set destroy`}),` now moves the room to a `,_jsx(_components.strong,{children:`trash`}),`: every member copy leaves the live tables at once and nothing is deleted. On the wire the owner keeps reading the room (`,_jsx(_components.code,{children:`Updated`}),`, `,_jsx(_components.code,{children:`isTrashed: true`}),`), every other member loses it (`,_jsx(_components.code,{children:`Destroyed`}),`), and everybody loses the messages, which nobody reads in the trash. The owner restores it with `,_jsx(_components.code,{children:`ChatRoom/set update {isTrashed: false}`}),` and nothing else; `,_jsx(_components.code,{children:`isTrashed: true`}),` is refused (the trash is reached through `,_jsx(_components.code,{children:`destroy`}),`), any other patch of a trashed room is refused, and a member who does not own it gets `,_jsx(_components.code,{children:`notFound`}),` as for any room they cannot see. The capability advertises `,_jsx(_components.code,{children:`roomTrash: true`}),` so a client tells a server that keeps the room from one that used to erase it.`]}),`\n`,_jsxs(_components.p,{children:[`Destroying asks for a `,_jsx(_components.strong,{children:`typed confirmation`}),` (`,_jsx(_components.code,{children:`onDestroyConfirm`}),`, a map of room id to what the user typed): the room’s name as shown, or its member count when it has none, compared after NFC normalisation, trimmed edges and collapsed inner spaces. A wrong confirmation is refused; an absent one is recorded in the audit row and let through, this being a guard against a slip of the hand, not an authorization. Leaving or hiding a room never asks. A trashed room is restorable for the purge horizon the operator sets, and the automatic sweep never destroys anything after an unacknowledged restore nor during a backup (`,_jsx(_components.a,{href:`/operator/mailboxes-storage`,children:`room trash, operator side`}),`).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Who did what is in the audit log.`}),` Destroying a room, removing a member, changing a role and moderating a message are acts that take something from others; each writes an administration-log line with its author, the address it came from and the session, where `,_jsx(_components.code,{children:`change_log`}),` carries no author and the log used to know nothing of chat (`,_jsx(_components.a,{href:`/operator/compliance`,children:`compliance`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-room-directory`,children:`The room directory`}),`\n`,_jsxs(_components.p,{children:[`A group or channel whose owner sets `,_jsx(_components.code,{children:`allowKnocking: true`}),` accepts a request to enter: a person outside the room writes their own `,_jsx(_components.code,{children:`membershipStates/\u003ctheir principal id>: \"knocking\"`}),` with `,_jsx(_components.code,{children:`ChatRoom/set`}),`, in an update of its own, and an owner accepts it (`,_jsx(_components.code,{children:`invited`}),` or `,_jsx(_components.code,{children:`joined`}),`) or refuses it by removing the entry. A knock used to need a room id learnt elsewhere, a door nobody could see. `,_jsx(_components.code,{children:`ChatRoomDirectory`}),` is where such a room can be found, and the one place a room’s existence reaches someone who is not in it.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Which rooms.`}),` The `,_jsx(_components.code,{children:`allowKnocking`}),` groups and channels of the caller’s organization, never a direct room, a trashed room, a room the caller is already in or one they are banned from.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What it shows, and only that.`}),` `,_jsx(_components.code,{children:`id`}),` (the one a knock names), `,_jsx(_components.code,{children:`roomType`}),` (`,_jsx(_components.code,{children:`group`}),` or `,_jsx(_components.code,{children:`channel`}),`), `,_jsx(_components.code,{children:`name`}),` (`,_jsx(_components.code,{children:`null`}),` when there is none), `,_jsx(_components.code,{children:`description`}),` (empty when there is none), `,_jsx(_components.code,{children:`memberCount`}),` (how many, never who) and `,_jsx(_components.code,{children:`knocking`}),` (the caller already asked). The last message, the participants, the roles and the membership map are member data and never appear; `,_jsx(_components.code,{children:`properties`}),` is a closed vocabulary, an unknown name being `,_jsx(_components.code,{children:`invalidArguments`}),`. It is a type of its own, not a widening of `,_jsx(_components.code,{children:`ChatRoom/query`}),`, whose result only ever holds the caller’s rooms.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No oracle.`}),` `,_jsx(_components.code,{children:`ChatRoomDirectory/get`}),` with `,_jsx(_components.code,{children:`ids: null`}),` returns the caller’s whole directory; an id absent from it is in `,_jsx(_components.code,{children:`notFound`}),` whatever the reason (closed to requests, banned, unknown, or already the caller’s room).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Query.`}),` `,_jsx(_components.code,{children:`ChatRoomDirectory/query`}),` filters on `,_jsx(_components.code,{children:`text`}),` (a case-insensitive substring of the name or the description) and `,_jsx(_components.code,{children:`roomType`}),`, and sorts by `,_jsx(_components.code,{children:`name`}),` only (then `,_jsx(_components.code,{children:`id`}),`, a room without a name last); any other comparator is `,_jsx(_components.code,{children:`unsupportedSort`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`No `,_jsx(_components.code,{children:`/changes`}),`.`]}),` The directory spans the organization and has no change log of its own, so its `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`queryState`}),` are a digest of what it shows and `,_jsx(_components.code,{children:`canCalculateChanges`}),` is `,_jsx(_components.code,{children:`false`}),`: a client reads it again when it shows it.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The chat capability announces `,_jsx(_components.code,{children:`roomDirectory: true`}),`, so a client offers “browse rooms” only on a server that has it, instead of probing `,_jsx(_components.code,{children:`ChatRoomDirectory/get`}),` at every start and getting `,_jsx(_components.code,{children:`unknownMethod`}),` from an older one.`]}),`\n`,_jsx(Heading,{level:`2`,id:`voice-message-transcripts`,children:`Voice message transcripts`}),`\n`,_jsxs(_components.p,{children:[`A voice message is an ordinary message whose envelope carries exactly one `,_jsx(_components.code,{children:`audio/*`}),` attachment. Its transcript is carried by the server, not by each client: `,_jsx(_components.code,{children:`ChatMessage/transcribe {accountId, id}`}),` makes the server compute it `,_jsx(_components.strong,{children:`once per message`}),`, and it is written under the server-managed `,_jsx(_components.code,{children:`transcript`}),` key of `,_jsx(_components.code,{children:`content`}),` on `,_jsx(_components.strong,{children:`every member’s copy`}),`, the way `,_jsx(_components.code,{children:`reactions`}),` is. The room preview (when the message has no `,_jsx(_components.code,{children:`text`}),`), the notification body and full-text search read it, which a transcript made on one device could never feed.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"done\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fr\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"durationMs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"endpointHost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"residencyTier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transcribedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-22T18:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"requestedBy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cprincipal id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The response is `,_jsx(_components.code,{children:`{accountId, id, transcript, submitted}`}),`. A `,_jsx(_components.code,{children:`done`}),` transcript is returned as is (`,_jsx(_components.code,{children:`submitted: false`}),`); otherwise the server writes `,_jsx(_components.code,{children:`pending`}),` on every copy (each member sees a `,_jsx(_components.code,{children:`ChatMessage`}),` state change), hands the audio to its engine once and answers `,_jsx(_components.code,{children:`submitted: true`}),`, and the final state arrives as another state change. Only `,_jsx(_components.code,{children:`done`}),` carries `,_jsx(_components.code,{children:`text`}),`; `,_jsx(_components.code,{children:`failed`}),` carries the engine’s `,_jsx(_components.code,{children:`error`}),` and may be asked again.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Without an engine the instance says so.`}),` A server with no speech engine writes `,_jsx(_components.code,{children:`failed`}),` with `,_jsx(_components.code,{children:`\"no transcription engine\"`}),`, never silence; the provenance fields (`,_jsx(_components.code,{children:`provider`}),`, `,_jsx(_components.code,{children:`endpointHost`}),`, `,_jsx(_components.code,{children:`residencyTier`}),`) say where the audio went when one ran.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`requestedBy`}),` names who asked by `,_jsx(_components.strong,{children:`principal`}),` id, the identity every other chat field names people by, so any member can resolve it.`]}),`\n`,_jsxs(_components.li,{children:[`Errors: `,_jsx(_components.code,{children:`invalidArguments`}),` when the caller holds no such message or a transcription is already `,_jsx(_components.code,{children:`pending`}),`; `,_jsx(_components.code,{children:`invalidProperties`}),` (`,_jsx(_components.code,{children:`id`}),`) when the message is not a voice message; `,_jsx(_components.code,{children:`forbidden`}),` over a shared account, or when the instance policy is `,_jsx(_components.code,{children:`never`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The instance policy is the operator’s `,_jsx(_components.code,{children:`[chat] transcript_policy`}),`, advertised nowhere: `,_jsx(_components.code,{children:`on-demand`}),` (the default, the first member who asks), `,_jsx(_components.code,{children:`always`}),` (transcribed at ingestion, by an engine only an extended build carries) or `,_jsx(_components.code,{children:`never`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`threads-and-notifications`,children:`Threads and notifications`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A thread is followed or left explicitly.`}),` `,_jsx(_components.code,{children:`ChatMessage/get`}),` serves `,_jsx(_components.code,{children:`threadFollowed`}),` on a thread root (`,_jsx(_components.code,{children:`false`}),` on a reply, which has no thread of its own). `,_jsx(_components.code,{children:`ChatMessage/set update {threadFollowed: true | false}`}),` on one’s own copy of the root, in an update of its own, follows or leaves it; on a reply it is refused with `,_jsx(_components.code,{children:`invalidProperties`}),`. Leaving forgets the thread’s unread state and takes it out of the `,_jsx(_components.code,{children:`myThreads`}),` view; replying, being mentioned or marking the thread unread follows it again.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A reply notifies the thread’s followers only`}),`, by push and WebSocket frame alike; a root message notifies the whole room. A scheduled message follows the same rule when it goes out.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A room’s notification preference is applied by the server.`}),` `,_jsx(_components.code,{children:`ChatRoom.notificationPref`}),` (`,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`mentions`}),` or `,_jsx(_components.code,{children:`nothing`}),`, per member) gates the notification before it is emitted, so it holds for the Web Push of a closed app as for the in-app frame: `,_jsx(_components.code,{children:`nothing`}),` never notifies, `,_jsx(_components.code,{children:`mentions`}),` only when the message highlights for that member (a mention, a room-wide mention, a keyword rule, never from a muted sender), and a value the server does not know notifies rather than silence someone.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A channel or group notification says who writes.`}),` The title is the sender, with the room in parentheses (`,_jsx(_components.code,{children:`Alice (#general)`}),`, `,_jsx(_components.code,{children:`Alice (Project X)`}),`, `,_jsx(_components.code,{children:`Alice`}),` in a direct or unnamed room), so a client that hides the preview keeps the body private and still names the sender; `,_jsx(_components.code,{children:`entity.authorPrincipalId`}),` carries the author’s principal id.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A thread query filters like any other.`}),` `,_jsx(_components.code,{children:`ChatMessage/query {inThread}`}),` honours `,_jsx(_components.code,{children:`sendStatuses`}),` (by default `,_jsx(_components.code,{children:`sent`}),` only, so a scheduled reply does not show in the thread before its send time), `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`isRoot`}),` and `,_jsx(_components.code,{children:`hasThread`}),`; the root stays in the result only when it matches.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`calls-in-the-room`,children:`Calls in the room`}),`\n`,_jsxs(_components.p,{children:[`A call anchored on a room (`,_jsx(_components.a,{href:`/developer/jmap-meet`,children:`Meet`}),`) leaves its trace there: the server writes `,_jsx(_components.strong,{children:`one call message per session`}),`, a `,_jsx(_components.code,{children:`ChatMessage`}),` whose `,_jsx(_components.code,{children:`call`}),` carries the summary, so unread counts, the room list, offline reading, search and every device come from the message machinery a client already has.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"media\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"initiatorPrincipalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"startedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T09:00:12Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"endedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T09:12:40Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"durationSeconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`748`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"answeredPrincipalIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"missedPrincipalIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"declinedPrincipalIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [] }`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`When it is written.`}),` When the session has ended; in a direct room, as soon as the ring of the only callee is over unanswered while the caller still waits, since a missed call must not wait for the caller to hang up (a later join does not rewrite it). A meeting whose conversation was never opened has no room, and gets no message rather than an invented conversation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What it says.`}),` `,_jsx(_components.code,{children:`media`}),` is `,_jsx(_components.code,{children:`audio`}),` for an audio-only session and `,_jsx(_components.code,{children:`video`}),` otherwise; `,_jsx(_components.code,{children:`startedAt`}),` is when a second participant joined (`,_jsx(_components.code,{children:`null`}),` when nobody did) and `,_jsx(_components.code,{children:`durationSeconds`}),` is `,_jsx(_components.code,{children:`0`}),` then; `,_jsx(_components.code,{children:`answeredPrincipalIds`}),` holds who was in the call, the initiator included once someone else joined; `,_jsx(_components.code,{children:`missedPrincipalIds`}),` who was rung and never joined before the ring ended; `,_jsx(_components.code,{children:`declinedPrincipalIds`}),` who declined and did not join afterwards. Each reader learns from it whether they took the call, and a client writes “missed call” for a principal of `,_jsx(_components.code,{children:`missedPrincipalIds`}),`, the call and its duration for the others.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unread only for who missed it.`}),` The message raises the unread counts of the accounts in `,_jsx(_components.code,{children:`missedPrincipalIds`}),` only; for everyone else it is read when it is written.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The server’s, not the client’s.`}),` Its author is the call’s initiator and its `,_jsx(_components.code,{children:`content`}),` is `,_jsx(_components.code,{children:`null`}),`; its content, mentions and poll cannot be changed (`,_jsx(_components.code,{children:`forbidden`}),`), it can be pinned or redacted like any message, and a client that sends `,_jsx(_components.code,{children:`call`}),` gets `,_jsx(_components.code,{children:`invalidProperties`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The room list knows.`}),` `,_jsx(_components.code,{children:`ChatRoom.lastMessageCall`}),` carries the same summary while the call message is the room’s last, and turns `,_jsx(_components.code,{children:`null`}),` with the next message. A call message leaves `,_jsx(_components.code,{children:`lastMessagePreview`}),` `,_jsx(_components.code,{children:`null`}),`, and a room list loads no message, so this is what lets a client write “missed call” on the room’s line, and tell a call from a last message whose body the server cannot read, instead of announcing a new message. It is server-set (refused on `,_jsx(_components.code,{children:`ChatRoom/set`}),`), always on the wire, `,_jsx(_components.code,{children:`null`}),` included, so a push patch can clear it, and projectable like every `,_jsx(_components.code,{children:`ChatRoom`}),` property. Rooms whose last message was already a call message got their summary at migration.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`An open tab learns that its ring ended.`}),` The Web Push that says so is skipped while a tab is open; the WebSocket carries its sibling instead, a `,_jsx(_components.code,{children:`Notification`}),` of `,_jsx(_components.code,{children:`category`}),` `,_jsx(_components.code,{children:`call`}),` whose `,_jsx(_components.code,{children:`entity`}),` is `,_jsx(_components.code,{children:`{sessionId, ringing: false, outcome}`}),`, `,_jsx(_components.code,{children:`outcome`}),` being `,_jsx(_components.code,{children:`answered`}),`, `,_jsx(_components.code,{children:`declined`}),` or `,_jsx(_components.code,{children:`missed`}),`. The caller reads whose ring went unanswered in `,_jsx(_components.code,{children:`MeetSession.missed`}),` instead of ringing on.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`message-queries`,children:`Message queries`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ChatMessage/query`}),` pages as RFC 8620 §5.5 says, whatever the scope (a room, `,_jsx(_components.code,{children:`inThread`}),`, a text search, `,_jsx(_components.code,{children:`isSaved`}),`, `,_jsx(_components.code,{children:`myThreads`}),`):`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`An anchor must be in the result.`}),` An `,_jsx(_components.code,{children:`anchor`}),` outside the result of the filter, or unknown, is `,_jsx(_components.code,{children:`anchorNotFound`}),`, where it used to be read as a cursor or end in a `,_jsx(_components.code,{children:`serverFail`}),`. `,_jsx(_components.code,{children:`anchorOffset`}),` is applied in full and clamped at `,_jsx(_components.code,{children:`0`}),`, `,_jsx(_components.code,{children:`position`}),` in the answer is the index of the first id returned, and every page keeps the order of the sort.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A thread read from an anchor lists that thread alone.`}),` With `,_jsx(_components.code,{children:`inThread`}),` and `,_jsx(_components.code,{children:`anchor`}),`, the query used to page through the whole room around the anchor while its `,_jsx(_components.code,{children:`total`}),` counted the thread; and a text search read from an anchor failed. Every page and the total now select through one predicate.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`calculateTotal`}),` is honoured on every scope.`]}),` A search by room or across rooms (`,_jsx(_components.code,{children:`roomId`}),`, `,_jsx(_components.code,{children:`accessibleByMe`}),`) answers the `,_jsx(_components.code,{children:`total`}),` it was asked for, counted over every match and not only the page shown; it used to be absent in silence outside `,_jsx(_components.code,{children:`isSaved`}),` and `,_jsx(_components.code,{children:`myThreads`}),`. It is counted only when asked.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`transport-and-liveness`,children:`Transport and liveness`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`WebSocket`}),` (`,_jsx(_components.code,{children:`/jmap/ws`}),`): method calls and push over one socket. Typing indicators are WS frames outside the JMAP request model — scoped to the `,_jsx(_components.strong,{children:`room’s members only`}),` and throttled to one frame per 3 s per (room, account); stop events always pass so indicators clear.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Presence carries a note.`}),` Next to the four-state status, a free-text note with an optional emoji (”🌴 back on the 12th”) is set by a `,_jsx(_components.code,{children:`ChatCustomStatus`}),` frame of its own (`,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`emoji`}),`; an empty text and no emoji clears it), because folding it into the presence frame would make an absent field mean either “unchanged” or “clear me”. It is ephemeral like the rest of presence, lost on restart, served as `,_jsx(_components.code,{children:`customStatus`}),` (`,_jsx(_components.code,{children:`null`}),` when there is none) in `,_jsx(_components.code,{children:`ChatPresence`}),` broadcasts and `,_jsx(_components.code,{children:`ChatPresenceResponse`}),` alike. The chat capability announces it, `,_jsx(_components.code,{children:`customStatus: true`}),` with `,_jsx(_components.code,{children:`maxCustomStatusChars`}),` (100) and `,_jsx(_components.code,{children:`maxCustomStatusEmojiChars`}),` (16), referenced from the constants the validator applies, so a client negotiates rather than emitting and swallowing a refusal; a note too long is refused, never truncated.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Liveness is re-checked.`}),` The socket’s auth anchor (the device session) is re-validated periodically; a session that was revoked or expired closes with `,_jsx(_components.code,{children:`4401`}),` so the client reconnects cleanly, instead of lingering half-dead (chat flowing, HTTP fetches failing). Routine token rotation never disconnects a healthy client.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`capacity-caps`,children:`Capacity caps`}),`\n`,_jsxs(_components.p,{children:[`The chat capability object advertises the enforced quotas as data — `,_jsx(_components.code,{children:`{maxRoomsPerAccount: 100, maxParticipantsPerRoom: 200, maxMessageSizeOctets: 65536, maxPinnedPerRoom: 50, maxReadReceiptLiveMembers: 20}`}),` — so clients bound their behaviour before hitting `,_jsx(_components.code,{children:`overQuota`}),`/`,_jsx(_components.code,{children:`tooLarge`}),` (`,_jsx(_components.a,{href:`/operator/multi-tenancy`,children:`multi-tenancy`}),`). `,_jsx(_components.code,{children:`maxPinnedPerRoom`}),` caps pinned messages per room; message size bounds the serialized create object, `,_jsx(_components.code,{children:`content`}),` envelope included; `,_jsx(_components.code,{children:`maxReadReceiptLiveMembers`}),` is explained under `,_jsx(_components.a,{href:`#read-receipts`,children:`read receipts`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`read-receipts`,children:`Read receipts`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ChatReadReceipt`}),` is a per-member read cursor — the id of the last message that member has read — and it is what a client renders as a row of reader avatars under a message.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A cursor only ever moves forward.`}),` `,_jsx(_components.code,{children:`ChatReadReceipt/set`}),` refuses an explicit `,_jsx(_components.code,{children:`lastReadMessageId`}),` older than the stored one with `,_jsx(_components.code,{children:`invalidProperties`}),`, before any write, so a refused entry leaves both the cursor and the unread badge untouched. To make a room unread again, use `,_jsx(_components.code,{children:`destroy`}),` — that is the supported direction. When the cursor was `,_jsx(_components.em,{children:`defaulted`}),` rather than sent by the caller (which happens on its own when the newest message is destroyed), it is never an error: the stored cursor wins, and the response reports the cursor the server `,_jsx(_components.strong,{children:`holds`}),`, not the older one it was handed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A read notifies the other members, live.`}),` Marking a room read queues a `,_jsx(_components.code,{children:`ChatReadReceipt`}),` state change for every `,_jsx(_components.em,{children:`other`}),` member, so their “seen by” surface follows the read instead of being correct on load and frozen afterwards. Two bounds apply: a channel that keeps its cursors hidden notifies nobody, and a room larger than `,_jsx(_components.code,{children:`maxReadReceiptLiveMembers`}),` (default 20) notifies nobody either — one read notifies every other member, so the volume grows with the square of the room size. Past that ceiling the cursors stay exact and `,_jsx(_components.code,{children:`ChatReadReceipt/get`}),` still returns them all; they simply refresh on the next fetch rather than within the second.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Direct and group rooms return every member’s receipt. A channel does not, unless it opts in.`}),` The reasoning behind closing a channel’s cursors is that a large broadcast room would leak reading patterns — true there, and false for the small team channel where “who has seen this” is the point of posting. So `,_jsx(_components.code,{children:`ChatRoom`}),` carries `,_jsx(_components.code,{children:`readReceiptsVisible`}),`: `,_jsx(_components.code,{children:`false`}),` by default (privacy stays the default, and existing rooms keep their behaviour), settable by an `,_jsx(_components.strong,{children:`owner`}),` only, and a `,_jsx(_components.em,{children:`shared`}),` room property rather than a per-member preference — it decides what the room discloses about its members, so one member cannot answer it for themselves. Setting it on a direct or group room is `,_jsx(_components.strong,{children:`refused`}),` rather than stored, because those rooms already return every receipt and a stored value there would be a promise nothing keeps.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A member can read without signalling, in direct and group rooms, reciprocally.`}),` The account preference `,_jsx(_components.code,{children:`chat.sendReadReceipts`}),` (`,_jsx(_components.code,{children:`Preferences/set`}),`, `,_jsx(_components.code,{children:`true`}),` by default) switched off, the member’s cursor still advances (it is their unread state) but it is served to nobody and notifies nobody; in return, that member’s `,_jsx(_components.code,{children:`ChatReadReceipt/get`}),` returns their own cursors and nobody else’s. Channels keep `,_jsx(_components.code,{children:`readReceiptsVisible`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`scheduled-send-and-link-unfurls`,children:`Scheduled send and link unfurls`}),`\n`,_jsx(_components.p,{children:`Two sibling capabilities advertise ChatMessage extension surfaces:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`https://oximail.ch/jmap/scheduled-send`})}),` — a `,_jsx(_components.code,{children:`ChatMessage/set`}),` create may carry `,_jsx(_components.code,{children:`scheduledAt`}),`; the message holds with a `,_jsx(_components.code,{children:`sendStatus`}),` until the server-side scheduler delivers it (same scheduler as calendar alerts).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`https://oximail.ch/jmap/link-unfurl`})}),` — the server populates link previews on messages (fetched server-side behind an SSRF guard; clients never fetch third-party URLs themselves).`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ChatMessage.unfurls`}),` is an `,_jsx(_components.strong,{children:`array of typed objects`}),`, appended to as each URL in the body resolves, and absent while a message has no URLs or no unfurl has resolved yet:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unfurls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.org/article\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"imageUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.org/og.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"siteName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ogType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"article\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canonicalUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.org/article\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Every field but `,_jsx(_components.code,{children:`url`}),` is optional and omitted when the source page did not provide it. Storage remains a JSON blob in one column, but that is an implementation detail the wire no longer leaks: this property used to be projected as the column `,_jsx(_components.em,{children:`verbatim`}),`, an array of raw byte values (`,_jsx(_components.code,{children:`[91, 123, 34, …]`}),`), which cost roughly four characters on the wire per useful byte and made every client reimplement bytes → UTF-8 → parse for data the server produces and understands entirely. Decoding now happens once, server-side, where a blob that cannot be parsed fails loudly instead of being silently replaced by an empty list.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`content`}),` stays an array of bytes on the wire for another reason: it is the client’s own envelope, stored verbatim so that keys the server does not know round-trip untouched. `,_jsx(_components.code,{children:`unfurls`}),` is data the server produces, so it is served as data.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`behaviours-worth-knowing`,children:`Behaviours worth knowing`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fan-out is materialized`}),`: a room message writes one row per member, which is what the caps bound — and why membership, message, and change-log writes are transactional (`,_jsx(_components.code,{children:`/changes`}),` can never miss a committed message).`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Mentions are structural`}),` (`,_jsx(_components.code,{children:`@principal`}),` as data, not string scanning), so renames do not break them and clients render them reliably.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Message edits keep history`}),`; edit-history references are tracked by blob GC, so an edited attachment never becomes a dangling reference.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scheduled messages and reminders`}),` run through the same server-side scheduler as calendar alerts.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`A reaction is bounded`}),` at 64 characters, composed emoji intact; every free-text input of the surface has a bound, and this one used to be the exception.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Creating a room refuses what updating one refused.`}),` Both `,_jsx(_components.code,{children:`ChatRoom/set`}),` arms reject an unknown property by name; `,_jsx(_components.code,{children:`create`}),` used to read the keys it knew and report success over the rest. `,_jsx(_components.code,{children:`ChatMessage`}),` and `,_jsx(_components.code,{children:`ChatRoom`}),` each declare one write vocabulary, checked before the handler runs: an unknown property is refused by name, and the server-set `,_jsx(_components.code,{children:`sendStatus`}),`, `,_jsx(_components.code,{children:`sentAt`}),` and `,_jsx(_components.code,{children:`authorPrincipalId`}),` of a message are refused with their reason.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`No end-to-end encryption is served.`}),` The `,_jsx(_components.code,{children:`keySlots`}),` surface that once let a client deposit a room key wrapped for each member is retired (zero rows measured on six instances), and a `,_jsx(_components.code,{children:`ChatRoom`}),` or `,_jsx(_components.code,{children:`ChatMessage`}),` created with an `,_jsx(_components.code,{children:`encryptionScheme`}),` other than `,_jsx(_components.code,{children:`none`}),` is refused with `,_jsx(_components.code,{children:`invalidProperties`}),`, instead of being stored and indexed as clear text under a label that said otherwise.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Strictness rules are identical to the `,_jsx(_components.a,{href:`/developer/jmap-mail`,children:`mail surface`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Chat","description":"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.","href":"/developer/jmap-chat"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Objects and methods","slug":"objects-and-methods","depth":2,"children":[]},{"title":"Message body and attachments","slug":"message-body-and-attachments","depth":2,"children":[]},{"title":"A room destroyed by its owner goes to the trash","slug":"a-room-destroyed-by-its-owner-goes-to-the-trash","depth":2,"children":[]},{"title":"The room directory","slug":"the-room-directory","depth":2,"children":[]},{"title":"Voice message transcripts","slug":"voice-message-transcripts","depth":2,"children":[]},{"title":"Threads and notifications","slug":"threads-and-notifications","depth":2,"children":[]},{"title":"Calls in the room","slug":"calls-in-the-room","depth":2,"children":[]},{"title":"Message queries","slug":"message-queries","depth":2,"children":[]},{"title":"Transport and liveness","slug":"transport-and-liveness","depth":2,"children":[]},{"title":"Capacity caps","slug":"capacity-caps","depth":2,"children":[]},{"title":"Read receipts","slug":"read-receipts","depth":2,"children":[]},{"title":"Scheduled send and link unfurls","slug":"scheduled-send-and-link-unfurls","depth":2,"children":[]},{"title":"Behaviours worth knowing","slug":"behaviours-worth-knowing","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"silbox","siteName":"OxiMail","title":"Chat - OxiMail","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/developer/jmap-chat","matchLevel":0},"fr":{"href":"/fr/developer/jmap-chat","matchLevel":1}}},"lastModified":"2026-10-30T08:11:47.486Z","originalFileLocation":"developer/jmap-chat.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OxiMail\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/silbox/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/silbox/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/silbox/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/silbox/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chat - OxiMail\">\u003cmeta data-mint-head property=\"og:description\" content=\"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OxiMail\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oximail.ch/developer/jmap-chat\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://silbox.mintlify.site/_mintlify/api/og/v2?division=Developer+%2F+JMAP+API\u0026amp;title=Chat\u0026amp;description=Chat+over+JMAP%3A+rooms%2C+their+trash+and+the+room+directory%2C+messages+and+their+attachments%2C+calls+recorded+in+the+room%2C+message+queries%2C+threads%2C+voice+transcrip\u0026amp;theme=bae531900f3839c8d5ce3bce\u0026amp;signature=02425e717ae403ca99a93b24536de49f2f5bd35e8da78e0de510c80ff1cf9534\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Chat - OxiMail\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://silbox.mintlify.site/_mintlify/api/og/v2?division=Developer+%2F+JMAP+API\u0026amp;title=Chat\u0026amp;description=Chat+over+JMAP%3A+rooms%2C+their+trash+and+the+room+directory%2C+messages+and+their+attachments%2C+calls+recorded+in+the+room%2C+message+queries%2C+threads%2C+voice+transcrip\u0026amp;theme=bae531900f3839c8d5ce3bce\u0026amp;signature=02425e717ae403ca99a93b24536de49f2f5bd35e8da78e0de510c80ff1cf9534\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/silbox/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OxiMail\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oximail.ch/developer/jmap-chat\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developer/jmap-chat.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.oximail.ch/developer/jmap-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.oximail.ch/fr/developer/jmap-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.oximail.ch/developer/jmap-chat\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oximail.ch/#organization\",\"name\":\"OxiMail\",\"url\":\"https://docs.oximail.ch\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oximail.ch#website\",\"name\":\"OxiMail\",\"url\":\"https://docs.oximail.ch\",\"publisher\":{\"@id\":\"https://docs.oximail.ch/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oximail.ch/developer/jmap-chat#webpage\",\"url\":\"https://docs.oximail.ch/developer/jmap-chat\",\"name\":\"Chat\",\"description\":\"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.\",\"dateModified\":\"2026-10-30T08:11:47.486Z\",\"isPartOf\":{\"@id\":\"https://docs.oximail.ch#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oximail.ch/developer/jmap-chat#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oximail.ch/developer/jmap-chat#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developer / JMAP API\",\"item\":\"https://docs.oximail.ch/developer/jmap-core\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat\",\"item\":\"https://docs.oximail.ch/developer/jmap-chat\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.oximail.ch/developer/jmap-chat#article\",\"headline\":\"Chat\",\"name\":\"Chat\",\"description\":\"Chat over JMAP: rooms, their trash and the room directory, messages and their attachments, calls recorded in the room, message queries, threads, voice transcripts, notification preferences, read receipts, reminders, polls, custom emoji and stickers, the presence note — plus the WebSocket transport, typing indicators, link unfurls, and the capacity caps.\",\"url\":\"https://docs.oximail.ch/developer/jmap-chat\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oximail.ch/developer/jmap-chat#webpage\"},\"dateModified\":\"2026-10-30T08:11:47.486Z\",\"publisher\":{\"@id\":\"https://docs.oximail.ch/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oximail.ch#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OxiMail\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OxiMail\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developer/jmap-chat.md","siteName":"OxiMail","nav":{"global":null,"languages":[{"language":"en","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":""},{"title":"Architecture at a glance","href":"/architecture"},{"title":"Installation","href":"/installation"},{"title":"First boot \u0026 setup wizard","href":"/first-boot"},{"title":"Core concepts","href":"/concepts"}]},{"group":"Operator Manual","pages":[{"title":"Mail \u0026 SMTP","href":"/operator/mail-and-smtp"},{"title":"Outbound relay \u0026 smarthost","href":"/operator/outbound-relay"},{"title":"Bulk sending \u0026 bounce domains","href":"/operator/bulk-sending"},{"title":"Mailboxes \u0026 storage","href":"/operator/mailboxes-storage"},{"title":"Email authentication \u0026 security","href":"/operator/email-auth-security"},{"title":"Anti-spam","href":"/operator/anti-spam"},{"title":"Attachment policy","href":"/operator/attachment-policy"},{"title":"Legacy protocols \u0026 clients","href":"/operator/legacy-protocols"},{"title":"Tested clients","href":"/operator/tested-clients"},{"title":"Groupware","href":"/operator/groupware"},{"title":"Filtering: Rules","href":"/operator/sieve-rules"},{"title":"Encryption at rest","href":"/operator/encryption-at-rest"},{"title":"Multi-tenancy \u0026 provisioning","href":"/operator/multi-tenancy"},{"title":"Federation between organizations","href":"/operator/federation"},{"title":"TLS \u0026 ACME","href":"/operator/tls-acme"},{"title":"Migration","href":"/operator/migration"},{"title":"Compliance: journaling \u0026 erasure","href":"/operator/compliance"},{"title":"Operations","href":"/operator/operations"},{"title":"Configuration reference","href":"/operator/configuration"},{"title":"CLI reference","href":"/operator/cli"},{"title":"Agent-assisted administration","href":"/operator/automation"}]},{"group":"Developer / JMAP API","pages":[{"title":"JMAP Core","href":"/developer/jmap-core"},{"title":"Mail","href":"/developer/jmap-mail"},{"title":"Calendar","href":"/developer/jmap-calendar"},{"title":"Contacts","href":"/developer/jmap-contacts"},{"title":"Tasks","href":"/developer/jmap-tasks"},{"title":"Notes","href":"/developer/jmap-notes"},{"title":"Files","href":"/developer/jmap-files"},{"title":"Sharing","href":"/developer/jmap-sharing"},{"title":"Distribution groups","description":"The organization-wide alias that expands to many recipients over JMAP: members of three kinds, nesting with a depth cap and a flat cache, who sees the members, the name guard against shadowing a colleague, historical aliases, and the per-organization fan-out budget.","href":"/developer/jmap-distribution-groups"},{"title":"Chat","href":"/developer/jmap-chat"},{"title":"Meet","description":"Real-time calls over JMAP: a MeetSession anchored on a chat room or a scheduled meeting, seats and the waiting room, guests who join by link without an account, the moderator verbs, the heartbeat lease, the transient MeetSignal relay, the call's chat, and the switch to a media forwarder when a call outgrows the mesh.","href":"/developer/jmap-meet"},{"title":"OxiMail JMAP extensions","href":"/developer/jmap-v2"},{"title":"Admin REST API","href":"/developer/admin-api"}]},{"group":"Architecture Reference","pages":[{"title":"Architecture reference","href":"/architecture/overview"},{"title":"oximail-core","href":"/architecture/oximail-core"},{"title":"oximail-store","href":"/architecture/oximail-store"},{"title":"oximail-mail","href":"/architecture/oximail-mail"},{"title":"oximail-smtp","href":"/architecture/oximail-smtp"}]},{"group":"Reference","pages":[{"title":"ADR index","href":"/reference/adr-index"},{"title":"IETF drafts","href":"/reference/ietf-drafts"},{"title":"RFC compliance","href":"/reference/rfc-compliance"},{"title":"Glossary","href":"/reference/glossary"},{"title":"Changelog","href":"/reference/changelog"}]}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/developer/jmap-chat"}]}]},"basePath":"","title":"Chat - OxiMail","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}