CometChatBuilderSettings object controls everything the iOS UI Kit Builder renders—messaging, AI helpers, calls, layout, theming, and more. This object is loaded from your cometchat-builder-settings.json configuration file.
For developers customizing their chat UI: Edit
cometchat-builder-settings.json to enable/disable features like messaging, calls, AI copilot, and theming. See the Integration Guide for setup.Top-level Structure
TheCometChatBuilderSettings object in Swift follows this structure:
1. Chat Features (chatFeatures)
1.1 Core Messaging Experience (coreMessagingExperience)
Essential messaging features: typing indicators, media sharing, message actions, and presence.
1.2 Deeper User Engagement (deeperUserEngagement)
Interactive features: mentions, reactions, polls, voice notes, and collaborative tools.
1.3 AI User Copilot (aiUserCopilot)
AI-powered features to help users start and navigate conversations.
1.4 User Management (userManagement)
1.5 Group Management (groupManagement)
Control what users can do with groups.
1.6 Moderator Controls (moderatorControls)
Admin tools for managing group members and content.
1.7 Private Messaging Within Groups (privateMessagingWithinGroups)
Allow direct messages between group members.
1.8 In-App Sounds (inAppSounds)
Control sound notifications for incoming and outgoing messages.
2. Call Features (callFeatures)
2.1 Voice and Video Calling (voiceAndVideoCalling)
Enable voice and video calling capabilities.
3. Layout (layout)
Control the overall UI structure and navigation.
4. Style (style)
Customize colors, fonts, and theme appearance.
4.1 Theme
4.2 Colors
4.3 Typography
Settings Overview
Below is the complete settings structure with default values. Update these in yourcometchat-builder-settings.json file to customize your chat experience.
Dashboard Feature Requirements
Some features require additional configuration in the CometChat Dashboard before they can be used:AI Copilot Features (Conversation Starter, Conversation Summary, Smart Reply)
- Requires an OpenAI API key configured in the Dashboard under AI > Settings
Stickers
- Requires sticker packs to be configured in the Dashboard under Chat & Messaging > Stickers
Polls
- Requires the Polls extension to be enabled in the Dashboard under Extensions > Polls
Collaborative Whiteboard & Document
- Requires the respective extensions to be enabled in the Dashboard under Extensions
Message Translation
- Requires the Message Translation extension to be enabled in the Dashboard under Extensions > Message Translation
Next Steps
Directory Structure
Understand the organization of the builder components and generated code.
Customizations
Modify component props, styling, and behavior for deeper customization.