Enable text messaging during calls by integrating the in-call chat feature. The SDK provides a chat button in the control panel and events to help you build a custom chat experience.Documentation Index
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Chat Button
Show Chat Button
By default, the chat button is hidden. To show it:Listen for Chat Button Clicks
Handle chat button clicks to open your chat interface:Unread Message Badge
Update the badge count on the chat button to show unread messages:| Parameter | Type | Description |
|---|---|---|
count | Number | The unread message count to display |
Building In-Call Chat
The Calls SDK provides the UI hooks for in-call chat, but the actual messaging functionality should be implemented using the CometChat Chat SDK or your own messaging solution.Integration with CometChat Chat SDK
If you’re using the CometChat Chat SDK, you can:- Create a group for the call session
- Use the group ID as the session ID
- Send and receive messages through the Chat SDK
- Update the unread badge count based on incoming messages