Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-react-uikit-v7.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

FieldValue
Plugin IDcall-action
Package@cometchat/chat-uikit-react
Message Typesaudio, video
Message Categoriescall
Included by DefaultYes
Bubble ComponentCometChatGroupActionBubble
Conversation PreviewVideo call / Voice call
Context MenuNone

Overview

The Call Action plugin handles messages of type audio and video in category call. These are system messages generated when calls are initiated, answered, missed, or ended. They render as centered, pill-shaped bubbles with a call status icon.

Bubble Rendering

  • Centered pill — same style as group action bubbles
  • Status icon — colored icon indicating call direction and outcome
  • Status text — localized description (e.g., “Missed Call”, “Outgoing Call”, “Call Ended”)

Call Status Icons

StatusSent by meReceivedIcon
InitiatedOutgoing call iconIncoming call iconPhone/video arrow
EndedCall end iconCall end iconRed phone
Missed/Cancelled/UnansweredUnanswered iconMissed call icon (red)Red phone with X
Ongoing/AnsweredOutgoing iconIncoming iconGreen phone

Status Text Mapping

Sent by me:
  • initiated → “Outgoing Call”
  • cancelled → “Cancelled Call”
  • rejected → “Rejected Call”
  • ended → “Call Ended”
  • unanswered → “Unanswered Call”
Received:
  • initiated → “Incoming Call”
  • ended → “Call Ended”
  • unanswered/cancelled → “Missed Call”
  • busy → “Busy Call”

Context Menu Options

None — call action messages have no context menu.

Conversation Preview

Returns: Video call or Voice call based on the call type (localized).

CSS Selectors

TargetSelector
Bubble root.cometchat-group-action-bubble
Icon.cometchat-group-action-bubble__icon
Text.cometchat-group-action-bubble__text