diff --git a/sdk/flutter/campaigns.mdx b/sdk/flutter/campaigns.mdx index 5a53f1a00..47501606b 100644 --- a/sdk/flutter/campaigns.mdx +++ b/sdk/flutter/campaigns.mdx @@ -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. + + **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. + + - **Type:** `CardMessage` (cometchat_sdk) - **Category:** `"card"` (`CometChatMessageCategory.card`) diff --git a/sdk/flutter/send-message.mdx b/sdk/flutter/send-message.mdx index b409a425a..87749b741 100644 --- a/sdk/flutter/send-message.mdx +++ b/sdk/flutter/send-message.mdx @@ -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. + + **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. + + **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. diff --git a/ui-kit/flutter/campaigns.mdx b/ui-kit/flutter/campaigns.mdx index ab5f864c2..35a8e190b 100644 --- a/ui-kit/flutter/campaigns.mdx +++ b/ui-kit/flutter/campaigns.mdx @@ -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. + + **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. + + Before proceeding, ensure you have completed the [UI Kit integration](/ui-kit/flutter/getting-started) and the [Dashboard Setup](/campaigns#setup-flow) for Campaigns. diff --git a/ui-kit/flutter/v5/getting-started.mdx b/ui-kit/flutter/v5/getting-started.mdx index 2b9496dcf..d3df5a6b5 100644 --- a/ui-kit/flutter/v5/getting-started.mdx +++ b/ui-kit/flutter/v5/getting-started.mdx @@ -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 ```