Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sdk/flutter/campaigns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Before using the SDK, set up your channels, categories, templates, and campaigns

A **Card Message** is a structured, interactive message rendered as a card bubble inside a conversation. Cards are **receive-only** on the SDK: they are created through the **Platform REST API** or the **Dashboard Bubble Builder** and delivered to clients like any other message — the SDK does not send them.

<Tip>
**Design cards visually with [Card Builder](/card-builder/overview).** Build your card messages in the CometChat Dashboard and export the Card Schema JSON — instead of writing it by hand.
</Tip>

- **Type:** `CardMessage` (cometchat_sdk)
- **Category:** `"card"` (`CometChatMessageCategory.card`)

Expand Down
4 changes: 4 additions & 0 deletions sdk/flutter/send-message.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,10 @@ CometChat.sendCustomMessage(customMessage, onSuccess: (CustomMessage message) {

A `CardMessage` is a structured, interactive message rendered as a card bubble. It belongs to the `card` category and carries a block of card schema JSON that the CometChat Cards library draws.

<Tip>
**Design cards visually with [Card Builder](/card-builder/overview).** Build your card messages in the CometChat Dashboard and export the Card Schema JSON — instead of writing it by hand.
</Tip>

<Note>

**Card Messages cannot be sent through the SDK.** The `CardMessage` class is **receive-only** — it has no public constructor and the SDK exposes no `sendCardMessage()` method. Card Messages are created server-side via the **Platform REST API** or the **Dashboard Bubble Builder**, and delivered to clients like any other message.
Expand Down
4 changes: 4 additions & 0 deletions ui-kit/flutter/campaigns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: "Deliver targeted, rich notifications to users via an in-app notifi

CometChat Campaigns enables you to send rich, interactive notifications to users through an in-app notification feed. Each notification is rendered as a native card using the **CometChat Cards** library — supporting images, text, buttons, layouts, and interactive actions.

<Tip>
**Design cards visually with [Card Builder](/card-builder/overview).** Build your card layouts in the CometChat Dashboard and export the Card Schema JSON these notifications render — instead of writing it by hand.
</Tip>

<Note>
Before proceeding, ensure you have completed the [UI Kit integration](/ui-kit/flutter/getting-started) and the [Dashboard Setup](/campaigns#setup-flow) for Campaigns.
</Note>
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/flutter/v5/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Add to your `pubspec.yaml`:
dependencies:
flutter:
sdk: flutter
cometchat_chat_uikit: ^5.2.16
cometchat_chat_uikit: ^5.2.18
cometchat_calls_uikit: ^5.0.16 # Optional: for voice/video calling
```

Expand Down