messaging library

CometChat SDK — Messaging sub-package.

Contains message models, message request builders, and the MessageListener for real-time message events. Also includes related models like attachments, receipts, and typing indicators.

import 'package:cometchat_sdk/messaging.dart';

For the full SDK surface, use:

import 'package:cometchat_sdk/cometchat_sdk.dart';

Android SDK reference: com.cometchat.chat.models (message types)

Classes

Action
This class represents an action performed in the chat.
Attachment
Represents a file attachment.
BaseMessage
Represents a basic chat message.
CustomMessage
Represents a custom chat message.
Interaction
Represents an interaction within the chat.
InteractionGoal
Represents an interaction goal within the chat.
InteractionReceipt
Represents an interaction receipt within the chat.
InteractiveMessage
Represents a interactive message within the chat.
MediaMessage
Represents a media message within the chat.
MessageReceipt
Represents a message receipt within the chat.
MessagesRequest
A request object for fetching messages.
MessagesRequestBuilder
Allows step-by-step creation of an MessagesRequest object.
TextMessage
Represents a text message within the chat.
TransientMessage
Represents a temporary or transient message within the chat.
TypingIndicator
Represents a typing indicator within the chat.