From c6089ab5b559eb1319fb23b905bac8c153d7b77d Mon Sep 17 00:00:00 2001 From: Dawinder Kaur Date: Mon, 15 Dec 2025 18:35:52 +0530 Subject: [PATCH] added docs for @all feature and updated ios uikit version --- ui-kit/ios/conversations.mdx | 2 ++ ui-kit/ios/core-features.mdx | 1 + ui-kit/ios/getting-started.mdx | 4 ++-- ui-kit/ios/message-composer.mdx | 2 ++ ui-kit/ios/message-list.mdx | 3 ++- ui-kit/ios/search.mdx | 2 ++ 6 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ui-kit/ios/conversations.mdx b/ui-kit/ios/conversations.mdx index b8b80440..338c2598 100644 --- a/ui-kit/ios/conversations.mdx +++ b/ui-kit/ios/conversations.mdx @@ -479,6 +479,8 @@ Below is a list of customizations along with corresponding code snippets | hideDeleteConversationOption | Hides the option to delete a conversation. | `hideDeleteConversationOption = true` | | hideUserStatus | Hides the online/offline status of users. | `hideUserStatus = true` | | hideGroupType | Hides the group type (private/public). | `hideGroupType = true` | +| setDisableMentionAll | Controls whether group mentions like @all appear in suggestions. | `.setDisableMentionAll(true)` | +| setMentionAllLabel | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabel("Id", "Label")` | ### Advanced diff --git a/ui-kit/ios/core-features.mdx b/ui-kit/ios/core-features.mdx index 2932e0a7..527da6b9 100644 --- a/ui-kit/ios/core-features.mdx +++ b/ui-kit/ios/core-features.mdx @@ -96,6 +96,7 @@ In the example, tapping on this element (depicted as "+2" in the provided image) ## Mentions Mentions is a robust feature provided by CometChat that enhances the interactivity and clarity of group or 1-1 chats by allowing users to directly address or refer to specific individuals in a conversation. +The feature also supports group mentions like `@all`, enabling users to quickly notify all members in a group chat simultaneously. diff --git a/ui-kit/ios/getting-started.mdx b/ui-kit/ios/getting-started.mdx index ff6d4ca1..e6df3107 100644 --- a/ui-kit/ios/getting-started.mdx +++ b/ui-kit/ios/getting-started.mdx @@ -113,7 +113,7 @@ use_frameworks! target 'YourApp' do # CometChat UI Kit for Swift - pod 'CometChatUIKitSwift', '5.1.3' + pod 'CometChatUIKitSwift', '5.1.4' # Optional: Include if you're using Audio/Video Calling pod 'CometChatCallsSDK', '4.2.0' @@ -163,7 +163,7 @@ https://github.com/cometchat/cometchat-uikit-ios Exact Version: ``` - 5.1.3 + 5.1.4 ``` 4. Add `CometChatSDK` repeating the above steps for following link and exact version: diff --git a/ui-kit/ios/message-composer.mdx b/ui-kit/ios/message-composer.mdx index c49a7937..b10ce5fe 100644 --- a/ui-kit/ios/message-composer.mdx +++ b/ui-kit/ios/message-composer.mdx @@ -354,6 +354,8 @@ Below is a list of customizations along with corresponding code snippets message | setMaxLine | Sets the maximum number of lines for the composer input. | `set(maxLine: 3)` | | setCustomSoundForMessages | Sets a custom sound for sending messages. | `set(customSoundForMessages: URL?)` | | disableSoundForMessages | Disables sound while sending messages. | `disableSoundForMessages = true` | +| setDisableMentionAll | Controls whether group mentions like @all appear in suggestions. | `.setDisableMentionAll(true)` | +| setMentionAllLabel | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabel("Id", "Label")` | *** diff --git a/ui-kit/ios/message-list.mdx b/ui-kit/ios/message-list.mdx index a31e6351..93e7b74b 100644 --- a/ui-kit/ios/message-list.mdx +++ b/ui-kit/ios/message-list.mdx @@ -323,7 +323,8 @@ Below is a list of customizations along with corresponding code snippets | hideSuggestedMessages | Hides the suggested message replies. | `hideSuggestedMessages = true` | | set(emptyChatGreetingView:) | Custom view displayed when the AI assistant chat is empty. | `emptyChatGreetingView = { /* custom view */ }` | | set(streamingSpeed:) | Sets the speed of streaming for AI assistant messages. | `streamingSpeed = 50` | - +| setDisableMentionAll | Controls whether group mentions like @all appear in suggestions. | `.setDisableMentionAll(true)` | +| setMentionAllLabel | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabel("Id", "Label")` | *** ### Advance diff --git a/ui-kit/ios/search.mdx b/ui-kit/ios/search.mdx index 4b6c5828..d12346ed 100644 --- a/ui-kit/ios/search.mdx +++ b/ui-kit/ios/search.mdx @@ -231,6 +231,8 @@ Below is a list of customizations along with corresponding code snippets | **loadingStateView** | Custom loader | `search.set(loadingStateView: spinner)` | | **emptyStateView** | Custom empty result view | `search.set(emptyStateView: emptyView)` | | **errorStateView** | Custom error UI | `search.set(errorStateView: errorView)` | +| setDisableMentionAll | Controls whether group mentions like @all appear in suggestions. | `.setDisableMentionAll(true)` | +| setMentionAllLabel | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabel("Id", "Label")` | ### Advanced