AI Integration Quick Reference
AI Integration Quick Reference
Overview
The Collaborative Document plugin handles messages of typeextension_document in category custom. It renders a card with a document banner image, title, subtitle, and an “Open Document” button that launches the collaborative editor in a new window.
Live Preview — interact with the collaborative document bubble.Open in Storybook ↗
Bubble Rendering
- Banner image — themed (light/dark) document illustration
- Title — “Collaborative Document”
- Subtitle — “Open document to edit content together”
- Button — “Open Document” — opens the document URL in a fullscreen popup window
- Lazy-loaded — the bubble component is not included in the initial bundle
@injected.extensions.document.document_url.
Context Menu Options
Standard media options: React, Reply, Reply in Thread, Info, Delete, Report, Mark Unread, Message Privately.Conversation Preview
Returns:Collaborative Document (localized via conversation_subtitle_collaborative_document key)