in-call-chat

Create and join a CometChat group tied to the active call session for in-call messaging.

31|9|Updated Mar 10, 2023
One-click install
npx skills add https://github.com/cometchat/calls-sdk-ios --skill in-call-chat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: in-call-chat
Source: https://github.com/cometchat/calls-sdk-ios/tree/main/skills/in-call-chat
Command: npx skills add https://github.com/cometchat/calls-sdk-ios --skill in-call-chat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you deliver real-time in-call text messaging so users can coordinate during an ongoing voice or video session without leaving the call experience.

Core Features & Use Cases

  • In-call chat via call session: Links messaging to the call session by using a CometChat Group where the Group GUID matches the session ID.
  • Chat UI integration: Enables or reveals the built-in chat button during a call and resets unread count when opened.
  • Unread message tracking: Increments unread badge count when messages arrive for the active session group and updates the call chat button accordingly.
  • Common use cases: Works for sending chat during calls, tapping a chat button to view messages, showing unread badges, and supporting group messaging tied to a call.

Quick Start

Tell the assistant: "Enable the in-call chat button, create or join a chat group using the session ID as the group GUID, then listen for incoming text messages to update the unread badge count during the call."

Frequently Asked Questions about in-call-chat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add chat messaging during voice or video calls in iOS?

In-call chat messaging is enabled by creating and joining a CometChat group where the Group GUID matches the active call session ID. This allows users to coordinate via text without leaving the call experience.

How do I show an unread badge count for messages during a call?

Unread badge tracking uses a message listener to increment the unread count when messages arrive for the active session group. The call chat button updates accordingly and resets the count when opened.

Do I need both Calls SDK and Chat SDK to enable in-call chat?

Yes, enabling in-call chat requires integrating both the CometChat Calls SDK and Chat SDK. The Calls SDK manages the voice or video session, while the Chat SDK handles the group messaging and unread badge logic.

How do I link a chat group to an active call session?

You link a chat group to an active call by using the session ID as the group GUID for the CometChat group. This session-parameterized mapping ensures messaging is tied directly to the ongoing call.

What is the best way to handle group messaging tied to a call session?

The best way is to use a session-parameterized group GUID mapping that creates or joins a CometChat group for the active call. This approach ensures all participants can coordinate seamlessly during the session.

Can I reveal the built-in chat button during an active call?

Yes, the chat UI integration enables or reveals the built-in chat button during an active call. When tapped, it displays the group messages and resets the unread badge count to zero.