Reference for CometChat Angular UIKit events including conversation, user, group, message, call, and UI events.
Events provide decoupled communication between UIKit components using a publish/subscribe event bus pattern. Components emit events in response to user interactions or state changes, allowing other parts of your application to react without direct component references. In Angular, you subscribe to these events using RxJS observables and manage subscriptions through component lifecycle hooks.
CometChatMessageEvents emits events when the logged-in user acts on a message object. This category includes both UIKit-level events and CometChat SDK listener events.
Triggered when the sent message is in transit and also when it is received by the receiver.
ccMessageEdited
Triggered when the user successfully edits a message.
ccReplyToMessage
Triggered when the user successfully replies to a message.
ccMessageDeleted
Triggered when the user successfully deletes a message.
ccMessageRead
Triggered when the sent message is read by the receiver.
ccCardActionClicked
Triggered when a user taps an interactive element on a card (developer card or nested agent card). Carries an ICardActionEvent with the owning message (or null for a streaming card), the raw renderer action, and the originating elementId/cardJson. The UIKit forwards the action untouched and runs no behavior. See the Card Messages guide.
Emitted when the CometChat SDK listener receives a text message.
onMediaMessageReceived
Emitted when the CometChat SDK listener receives a media message.
onCustomMessageReceived
Emitted when the CometChat SDK listener receives a custom message.
onTypingStarted
Emitted when the CometChat SDK listener indicates that a user has started typing.
onTypingEnded
Emitted when the CometChat SDK listener indicates that a user has stopped typing.
onMessagesDelivered
Emitted when the CometChat SDK listener indicates that messages have been delivered.
onMessagesRead
Emitted when the CometChat SDK listener indicates that messages have been read.
onMessageEdited
Emitted when the CometChat SDK listener indicates that a message has been edited.
onMessageDeleted
Emitted when the CometChat SDK listener indicates that a message has been deleted.
onTransientMessageReceived
Emitted when the CometChat SDK listener receives a transient message.
onCardMessageReceived
Emitted when the CometChat SDK listener receives a developer card message (category: "card"). Carries a CometChat.CardMessage. The UIKit renders cards but never sends or creates them.