Skip to main content
This component allows users to compose and send messages. It provides a text input area or field where users can enter their messages or responses before sending them to other participants in the conversation. Key features and functionalities of the message composer includes:
  1. Text Input: The message composer provides a multi-line text input area where users can type their messages.
  2. Voice Recording Button: This button is often represented by a microphone symbol. Users can tap or click to start recording their voice message.
  3. Send Button: The message composer includes a “Send” button that allows users to send their composed message to the recipient.
  4. Attachment Options: The message composer also includes options to attach files, images, emojis, and other media to the message.
  5. Live reactions: The message composer allows users to express their immediate responses or emotions to content in real time. Instead of simply liking or commenting on a message, users can use live reactions to provide instant feedback and engage with the content more dynamically.
CometChat’s React UI Kit supports the following extensions in the message composer
  1. Stickers
  2. Polls
  3. Collaborative whiteboard
  4. Collaborative document
Stickers form the auxiliary buttonPolls, collaborative whiteboard and collaborative document are part of the composer action and appears in the action sheet.

Properties

Chat Information

Details associated with a chat conversation or chat participants.

Message input

Customise text and controls

Asset URLs

Custom asset URL used for graphical representation.

Custom view

UI component created and customised by the developer to meet your design or functional requirements.

Configurations

Properties of the UserMemberWrapper component that are available for customisation.

Formatters

Array of formatters

Toggle

Switch to hide or show the live reaction, enable / disable typing events.

Sound

This refers to the action of activating or allowing the audio or sound capabilities of the message list component.

Function callback

Functions that can be invoked by the user in response to a specific event or condition.

Misc

Style

Styling properties and values of all the child components

Usage