Skip to content

docs(react-native): document Card Message support for SDK and UI Kit#405

Open
Lucky-Cometchat wants to merge 3 commits into
mainfrom
feature/react-native-uikit/sdk-card-message
Open

docs(react-native): document Card Message support for SDK and UI Kit#405
Lucky-Cometchat wants to merge 3 commits into
mainfrom
feature/react-native-uikit/sdk-card-message

Conversation

@Lucky-Cometchat

@Lucky-Cometchat Lucky-Cometchat commented Jun 25, 2026

Copy link
Copy Markdown

Description

Related Issue(s)

Type of Change

  • New documentation
  • Improvement to existing documentation
  • Documentation correction/update
  • Typo fix
  • Other (please specify)

Checklist

  • I have read the CONTRIBUTING document
  • My branch name follows the naming convention
  • My changes follow the documentation style guide
  • I have checked for spelling and grammar errors
  • All links in my changes are valid and working
  • My changes are accurately described in this pull request

Additional Information

Screenshots (if applicable)

Add documentation for the new Card Message feature (chat SDK v4.0.26 /
UI Kit card support) across the React Native docs only:

- ai-agents.mdx: card streaming events (Card Start/Card/Card End) and the
  AIAssistantMessage `getElements()` / `AIAssistantElement` render model
- campaigns.mdx: CardMessage (category "card") fields + onCardMessageReceived usage
- real-time-listeners.mdx: onCardMessageReceived callback on MessageListener
- ui-kit/react-native/events.mdx: ccCardActionClicked UI event + refined
  onCardMessageReceived description

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cometchat 🟢 Ready View Preview Jun 25, 2026, 10:10 AM

- send-message.mdx: add Card Message section noting category "card" is
  receive-only and cannot be sent from the SDK (Platform API / Dashboard only)
- receive-messages.mdx: add Card Messages section showing onCardMessageReceived
  on MessageListener (TS/JS) with getCard() usage

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
raj-dubey1
raj-dubey1 previously approved these changes Jun 25, 2026
- Add card as a first-class message category in message structure & hierarchy
  (accordion, category sentence, overview table, dedicated section) and remove
  the obsolete interactive section that linked to a nonexistent RN page
- Swap the hierarchy diagram for the new message-structure-hierarchy-card.svg
- Elaborate the send-message Card Message section: receive-only Note with REST
  API link, CardMessage field snippet/table, and a Render a Card Message
  subsection pointing to @cometchat/cards-react-native (CometChatCardView)
- Align getText() description across pages

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants