Skip to main content
This page documents the auxiliary classes used across all CometChat SDKs. These objects are returned by listener callbacks and specific SDK methods. All properties are accessed via getter methods.

MessageReceipt

MessageReceipt represents a delivery or read receipt for a message. It is received via the onMessagesDelivered and onMessagesRead listener callbacks.

Properties


Reaction

Reaction represents an individual user’s reaction on a message. It is returned by fetchNext() and fetchPrevious() on a ReactionsRequest object, and is also available within a ReactionEvent.

Properties


ReactionCount

ReactionCount represents the count of a specific reaction on a message. It is available via getReactions() on a BaseMessage object.

Properties


ReactionEvent

ReactionEvent represents a real-time reaction event. It is received via the onMessageReactionAdded and onMessageReactionRemoved listener callbacks.

Properties


TypingIndicator

TypingIndicator represents a typing event. It is received via the onTypingStarted and onTypingEnded listener callbacks.

Properties


TransientMessage

TransientMessage represents a transient (non-persistent) message. It is received via the onTransientMessageReceived listener callback. Transient messages are not stored on the server.

Properties


Attachment

Attachment represents a file attachment on a MediaMessage. It is available via getAttachment() or getAttachments() on a MediaMessage object.

Properties


CometChatException

CometChatException represents an error from the Chat SDK. It is received in rejection callbacks of promise-based SDK methods (e.g., sendMessage, login, getGroup).

Properties